HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) HttpCookiePairHeaderValue.TryParse(String, HttpCookiePairHeaderValue) Method

Definition

Determines whether a string is valid HttpCookiePairHeaderValue information.

public : static Platform::Boolean TryParse(Platform::String input, HttpCookiePairHeaderValue cookiePairHeaderValue)
static bool TryParse(winrt::hstring input, HttpCookiePairHeaderValue const& cookiePairHeaderValue) const;
public static bool TryParse(String input, HttpCookiePairHeaderValue cookiePairHeaderValue)
Public Shared Function TryParse(input As String, cookiePairHeaderValue As HttpCookiePairHeaderValue) As bool
var bool = Windows.Web.Http.Headers.HttpCookiePairHeaderValue.tryParse(input, cookiePairHeaderValue);

Parameters

input
String String String

The string to validate.

Returns

bool bool bool

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