HttpCookiePairHeaderValue.Parse(String) HttpCookiePairHeaderValue.Parse(String) HttpCookiePairHeaderValue.Parse(String) HttpCookiePairHeaderValue.Parse(String) HttpCookiePairHeaderValue.Parse(String) Method

Definition

Converts a string to an HttpCookiePairHeaderValue instance.

public : static HttpCookiePairHeaderValue Parse(Platform::String input)
static HttpCookiePairHeaderValue Parse(winrt::hstring input) const;
public static HttpCookiePairHeaderValue Parse(String input)
Public Shared Function Parse(input As String) As HttpCookiePairHeaderValue
var httpCookiePairHeaderValue = Windows.Web.Http.Headers.HttpCookiePairHeaderValue.parse(input);

Parameters

input
String String String

A string that represents the cookie name and value in the Cookie HTTP header.

Returns

Remarks

Below are the exceptions that this function throws.

E_INVALIDARG

The input parameter is null (Nothing in Visual Basic).

The input parameter is not valid cookie information.