StringWithQualityHeaderValue 构造函数

定义

重载

StringWithQualityHeaderValue(StringSegment)

初始化 StringWithQualityHeaderValue 的新实例。

StringWithQualityHeaderValue(String)
StringWithQualityHeaderValue(StringSegment, Double)

初始化 StringWithQualityHeaderValue 的新实例。

StringWithQualityHeaderValue(String, Double)

StringWithQualityHeaderValue(StringSegment)

Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs
Source:
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)

Source:
StringWithQualityHeaderValue.cs
Source:
StringWithQualityHeaderValue.cs
Source:
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

适用于