Share via


HttpTransferCodingHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpTransferCodingHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

transferCodingHeaderValue
HttpTransferCodingHeaderValue

The HttpTransferCodingHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to