Dela via


HttpConnectionOptionHeaderValue.TryParse Method

Definition

Determines whether a string is valid HttpConnectionOptionHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

connectionOptionHeaderValue
HttpConnectionOptionHeaderValue

The HttpConnectionOptionHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to