DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / PreferredPCID Property






In This Topic
    PreferredPCID Property
    In This Topic
    Provides guidance for the choice of presentation context
    Syntax
    'Declaration
     
    
    Public Property PreferredPCID As System.Byte
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.Byte
     
    instance.PreferredPCID = value
     
    value = instance.PreferredPCID
    public System.byte PreferredPCID {get; set;}
    public read-write property PreferredPCID: System.Byte; 
    public function get,set PreferredPCID : System.byte
    public: __property System.byte get_PreferredPCID();
    public: __property void set_PreferredPCID( 
       System.byte value
    );
    public:
    property System.byte PreferredPCID {
       System.byte get();
       void set (    System.byte value);
    }
    Remarks

    Under some circumstances, DicomObjects may have a choice of presentation contexts to use for a given operation, and PreferredTS and PreferredPCID, provide guidance on which of the available options to use.

    DicomObjects cannot, however, guarantee that the values given will be honoured, as the requirements of the standard, and the negotiated presentation contexts available will always take priority. Note also, that they can only be effective at the application actually carrying out the operation involved, normally the SCP.

    The default values for these parameters are a null string and zero respectively, and these values are taken to mean "no preference".

    Presentation context will be selected according to the following procedure:

    • If the presentation context given by PreferredPCID is appropriate for the operation, it is used.
    • If not, and if any presentation context, using the transfer syntax given by PreferredTS is available, then that is used.
    • If neither of the above applies, then any suitable and negotiated presentation context is used.

    These properties are particularly designed for teleradiology applications, where run-time selection of a compressed syntax may be appropriate.

    For a list of the available presentation contexts, see the Contexts property.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also