DicomObjects.NET Core 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 String, _
       ByVal SubType As String _
    )
    'Usage
     
    
    Dim MainType As String
    Dim SubType As String
     
    Dim instance As New ContentType(MainType, SubType)
    public ContentType( 
       string MainType,
       string SubType
    )
    public:
    ContentType( 
       String^ MainType,
       String^ SubType
    )

    Parameters

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

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also