HttpLanguageRangeWithQualityHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpLanguageRangeWithQualityHeaderValue information.

public:
 static bool TryParse(Platform::String ^ input, [Out] HttpLanguageRangeWithQualityHeaderValue ^ & languageRangeWithQualityHeaderValue);
 static bool TryParse(winrt::hstring const& input, [Out] HttpLanguageRangeWithQualityHeaderValue const& & languageRangeWithQualityHeaderValue);
public static bool TryParse(string input, out HttpLanguageRangeWithQualityHeaderValue languageRangeWithQualityHeaderValue);
Public Shared Function TryParse (input As String, ByRef languageRangeWithQualityHeaderValue As HttpLanguageRangeWithQualityHeaderValue) As Boolean

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

languageRangeWithQualityHeaderValue
HttpLanguageRangeWithQualityHeaderValue

The HttpLanguageRangeWithQualityHeaderValue version of the string.

Returns

Boolean

bool

true if input is valid HttpLanguageRangeWithQualityHeaderValue information; otherwise, false.

Applies to