Udostępnij za pośrednictwem


HttpContentCodingHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpContentCodingHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

contentCodingHeaderValue
HttpContentCodingHeaderValue

The HttpContentCodingHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to