MediaTypeWithQualityHeaderValue Constructor (String)
Initializes a new instance of the MediaTypeWithQualityHeaderValue class.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Sub New ( _
mediaType As String _
)
'Usage
Dim mediaType As String
Dim instance As New MediaTypeWithQualityHeaderValue(mediaType)
public MediaTypeWithQualityHeaderValue(
string mediaType
)
public:
MediaTypeWithQualityHeaderValue(
String^ mediaType
)
new :
mediaType:string -> MediaTypeWithQualityHeaderValue
public function MediaTypeWithQualityHeaderValue(
mediaType : String
)
Parameters
- mediaType
Type: System.String
See Also
Reference
MediaTypeWithQualityHeaderValue Class