Delen via


StringWithQualityHeaderValue Constructors

Definition

Overloads

StringWithQualityHeaderValue(StringSegment)

Initializes a new instance of StringWithQualityHeaderValue.

StringWithQualityHeaderValue(String)
StringWithQualityHeaderValue(StringSegment, Double)

Initializes a new instance of StringWithQualityHeaderValue.

StringWithQualityHeaderValue(String, Double)

StringWithQualityHeaderValue(StringSegment)

Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs

Initializes a new instance of StringWithQualityHeaderValue.

public:
 StringWithQualityHeaderValue(Microsoft::Extensions::Primitives::StringSegment value);
public StringWithQualityHeaderValue (Microsoft.Extensions.Primitives.StringSegment value);
new Microsoft.Net.Http.Headers.StringWithQualityHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.StringWithQualityHeaderValue
Public Sub New (value As StringSegment)

Parameters

value
StringSegment

The StringSegment used to initialize the new instance.

Applies to

StringWithQualityHeaderValue(String)

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

Parameters

value
String

Applies to

StringWithQualityHeaderValue(StringSegment, Double)

Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs

Initializes a new instance of StringWithQualityHeaderValue.

public:
 StringWithQualityHeaderValue(Microsoft::Extensions::Primitives::StringSegment value, double quality);
public StringWithQualityHeaderValue (Microsoft.Extensions.Primitives.StringSegment value, double quality);
new Microsoft.Net.Http.Headers.StringWithQualityHeaderValue : Microsoft.Extensions.Primitives.StringSegment * double -> Microsoft.Net.Http.Headers.StringWithQualityHeaderValue
Public Sub New (value As StringSegment, quality As Double)

Parameters

value
StringSegment

The StringSegment used to initialize the new instance.

quality
Double

The quality factor.

Applies to

StringWithQualityHeaderValue(String, Double)

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

Parameters

value
String
quality
Double

Applies to