DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / ContentType Class / ToMediaTypeWithQualityHeaderValue Method






In This Topic
    ToMediaTypeWithQualityHeaderValue Method
    In This Topic
    Formatting the Header value for the current media type based on its properties
    Syntax
    'Declaration
     
    
    Public Function ToMediaTypeWithQualityHeaderValue() As System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
    'Usage
     
    
    Dim instance As ContentType
    Dim value As System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
     
    value = instance.ToMediaTypeWithQualityHeaderValue()
    public System.Net.Http.Headers.MediaTypeWithQualityHeaderValue ToMediaTypeWithQualityHeaderValue()
    public function ToMediaTypeWithQualityHeaderValue(): System.Net.Http.Headers.MediaTypeWithQualityHeaderValue; 
    public function ToMediaTypeWithQualityHeaderValue() : System.Net.Http.Headers.MediaTypeWithQualityHeaderValue;
    public: System.Net.Http.Headers.MediaTypeWithQualityHeaderValue* ToMediaTypeWithQualityHeaderValue(); 
    public:
    System.Net.Http.Headers.MediaTypeWithQualityHeaderValue^ ToMediaTypeWithQualityHeaderValue(); 

    Return Value

    Returns the MediaType header value which can be incorporated in the HTTP request
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also