HttpLanguageRangeWithQualityHeaderValue 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
HttpLanguageRangeWithQualityHeaderValue(String) |
Initializes a new instance of the HttpLanguageRangeWithQualityHeaderValue class with language-range information. |
HttpLanguageRangeWithQualityHeaderValue(String, Double) |
Initializes a new instance of the HttpLanguageRangeWithQualityHeaderValue class with language-range and quality information. |
HttpLanguageRangeWithQualityHeaderValue(String)
Initializes a new instance of the HttpLanguageRangeWithQualityHeaderValue class with language-range information.
public:
HttpLanguageRangeWithQualityHeaderValue(Platform::String ^ languageRange);
HttpLanguageRangeWithQualityHeaderValue(winrt::hstring const& languageRange);
public HttpLanguageRangeWithQualityHeaderValue(string languageRange);
function HttpLanguageRangeWithQualityHeaderValue(languageRange)
Public Sub New (languageRange As String)
Parameters
- languageRange
-
String
Platform::String
winrt::hstring
The value of the language-range information used in the Accept-Language HTTP header.
See also
Applies to
HttpLanguageRangeWithQualityHeaderValue(String, Double)
Initializes a new instance of the HttpLanguageRangeWithQualityHeaderValue class with language-range and quality information.
public:
HttpLanguageRangeWithQualityHeaderValue(Platform::String ^ languageRange, double quality);
HttpLanguageRangeWithQualityHeaderValue(winrt::hstring const& languageRange, double const& quality);
public HttpLanguageRangeWithQualityHeaderValue(string languageRange, double quality);
function HttpLanguageRangeWithQualityHeaderValue(languageRange, quality)
Public Sub New (languageRange As String, quality As Double)
Parameters
- languageRange
-
String
Platform::String
winrt::hstring
The value of the language-range information used in the Accept-Language HTTP header.
- quality
-
Double
double
The value of the qvalue or quality factor used in the Accept-Language HTTP header.