StringWithQualityHeaderValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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)
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