'Declaration
Public Function ToMediaType( _ ByVal AllowMulti As Boolean, _ ByVal WithQuality As Boolean _ ) As MediaTypeHeaderValue
'Usage
Dim instance As ContentType Dim AllowMulti As Boolean Dim WithQuality As Boolean Dim value As MediaTypeHeaderValue value = instance.ToMediaType(AllowMulti, WithQuality)
public MediaTypeHeaderValue ToMediaType( bool AllowMulti, bool WithQuality )
public: MediaTypeHeaderValue^ ToMediaType( bool AllowMulti, bool WithQuality )
Parameters
- AllowMulti
- WithQuality
Return Value
Returns the MediaType header value which can be incorporated in the HTTP request