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






In This Topic
    ContentType Constructor(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 _
    )
    'Usage
     
    
    Dim MainType As System.String
    Dim SubType As System.String
     
    Dim instance As New ContentType(MainType, SubType)
    public ContentType( 
       System.string MainType,
       System.string SubType
    )
    public ContentType( 
        MainType: System.String;
        SubType: System.String
    ); 
    public function ContentType( 
       MainType : System.String,
       SubType : System.String
    );
    public: ContentType( 
       System.string* MainType,
       System.string* SubType
    )
    public:
    ContentType( 
       System.String^ MainType,
       System.String^ SubType
    )

    Parameters

    MainType
    MIME type for the media
    SubType
    Actual MIME type if it is a multipart media
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also