MediaTypeWithQualityHeaderValue Constructor (String, Double)
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, _
quality As Double _
)
'Usage
Dim mediaType As String
Dim quality As Double
Dim instance As New MediaTypeWithQualityHeaderValue(mediaType, _
quality)
public MediaTypeWithQualityHeaderValue(
string mediaType,
double quality
)
public:
MediaTypeWithQualityHeaderValue(
String^ mediaType,
double quality
)
new :
mediaType:string *
quality:float -> MediaTypeWithQualityHeaderValue
public function MediaTypeWithQualityHeaderValue(
mediaType : String,
quality : double
)
Parameters
- mediaType
Type: System.String
- quality
Type: System.Double
See Also
Reference
MediaTypeWithQualityHeaderValue Class