Επεξεργασία

Κοινή χρήση μέσω


MediaTypeWithQualityHeaderValue Constructors

Definition

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

Overloads

MediaTypeWithQualityHeaderValue(String)

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

MediaTypeWithQualityHeaderValue(String, Double)

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

MediaTypeWithQualityHeaderValue(String)

Source:
MediaTypeWithQualityHeaderValue.cs
Source:
MediaTypeWithQualityHeaderValue.cs
Source:
MediaTypeWithQualityHeaderValue.cs

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

public:
 MediaTypeWithQualityHeaderValue(System::String ^ mediaType);
public MediaTypeWithQualityHeaderValue (string mediaType);
new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue : string -> System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
Public Sub New (mediaType As String)

Parameters

mediaType
String

A MediaTypeWithQualityHeaderValue represented as string to initialize the new instance.

Applies to

MediaTypeWithQualityHeaderValue(String, Double)

Source:
MediaTypeWithQualityHeaderValue.cs
Source:
MediaTypeWithQualityHeaderValue.cs
Source:
MediaTypeWithQualityHeaderValue.cs

Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

public:
 MediaTypeWithQualityHeaderValue(System::String ^ mediaType, double quality);
public MediaTypeWithQualityHeaderValue (string mediaType, double quality);
new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue : string * double -> System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
Public Sub New (mediaType As String, quality As Double)

Parameters

mediaType
String

A MediaTypeWithQualityHeaderValue represented as string to initialize the new instance.

quality
Double

The quality associated with this header value.

Applies to