StringWithQualityHeaderValue 构造函数

定义

初始化 StringWithQualityHeaderValue 类的新实例。

重载

StringWithQualityHeaderValue(String)

初始化 StringWithQualityHeaderValue 类的新实例。

StringWithQualityHeaderValue(String, Double)

初始化 StringWithQualityHeaderValue 类的新实例。

StringWithQualityHeaderValue(String)

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

初始化 StringWithQualityHeaderValue 类的新实例。

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

参数

value
String

用于初始化新实例的字符串。

适用于

StringWithQualityHeaderValue(String, Double)

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

初始化 StringWithQualityHeaderValue 类的新实例。

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

参数

value
String

用于初始化新实例的字符串。

quality
Double

用于初始化新实例的质量因子。

适用于