StringWithQualityHeaderValue 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StringWithQualityHeaderValue(StringSegment)
初始化 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 的新執行個體。
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