DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / WebContent Class / ContentType Property






In This Topic
    ContentType Property
    In This Topic
    The Content-Type of the data
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ContentType As ContentType
    'Usage
     
    
    Dim instance As WebContent
    Dim value As ContentType
     
    value = instance.ContentType
    public ContentType ContentType {get;}
    public read-only property ContentType: ContentType; 
    public function get ContentType : ContentType
    public: __property ContentType* get_ContentType();
    public:
    property ContentType^ ContentType {
       ContentType^ get();
    }
    Remarks

    Possibilities include:

    • multipart/related (top level)
    • application/dicom
    • application/json
    • etc.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also