共用方式為


StringWithQualityHeaderValue 建構函式

定義

多載

StringWithQualityHeaderValue(StringSegment)

初始化 StringWithQualityHeaderValue 的新執行個體。

StringWithQualityHeaderValue(String)
StringWithQualityHeaderValue(StringSegment, Double)

初始化 StringWithQualityHeaderValue 的新執行個體。

StringWithQualityHeaderValue(String, Double)

StringWithQualityHeaderValue(StringSegment)

來源:
StringWithQualityHeaderValue.cs
來源:
StringWithQualityHeaderValue.cs
來源:
StringWithQualityHeaderValue.cs

初始化 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)

參數

value
StringSegment

StringSegment 用來初始化新執行個體。

適用於

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)

參數

value
String

適用於

StringWithQualityHeaderValue(StringSegment, Double)

來源:
StringWithQualityHeaderValue.cs
來源:
StringWithQualityHeaderValue.cs
來源:
StringWithQualityHeaderValue.cs

初始化 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)

參數

value
StringSegment

StringSegment 用來初始化新執行個體。

quality
Double

品質因素。

適用於

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)

參數

value
String
quality
Double

適用於