DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / ContentType Class / ContentType Constructor / ContentType Constructor(String,String,String)
MIME type for the media
Actual MIME type if it is a multipart media
The DICOM transfer syntax of the media it represents






In This Topic
    ContentType Constructor(String,String,String)
    In This Topic
    Constructor for initialising content description
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal MainType As System.String, _
       ByVal SubType As System.String, _
       ByVal TransferSyntax As System.String _
    )
    'Usage
     
    
    Dim MainType As System.String
    Dim SubType As System.String
    Dim TransferSyntax As System.String
     
    Dim instance As New ContentType(MainType, SubType, TransferSyntax)
    public ContentType( 
       System.string MainType,
       System.string SubType,
       System.string TransferSyntax
    )
    public ContentType( 
        MainType: System.String;
        SubType: System.String;
        TransferSyntax: System.String
    ); 
    public function ContentType( 
       MainType : System.String,
       SubType : System.String,
       TransferSyntax : System.String
    );
    public: ContentType( 
       System.string* MainType,
       System.string* SubType,
       System.string* TransferSyntax
    )
    public:
    ContentType( 
       System.String^ MainType,
       System.String^ SubType,
       System.String^ TransferSyntax
    )

    Parameters

    MainType
    MIME type for the media
    SubType
    Actual MIME type if it is a multipart media
    TransferSyntax
    The DICOM transfer syntax of the media it represents
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also