Jaa


HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) Method

Definition

Determines whether a string is valid HttpCookiePairHeaderValue information.

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

Parameters

input
String

Platform::String

winrt::hstring

The string to validate.

cookiePairHeaderValue
HttpCookiePairHeaderValue

The HttpCookiePairHeaderValue version of the string.

Returns

Boolean

bool

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

Applies to