Udostępnij za pośrednictwem


HttpCookiePairHeaderValue Constructors

Definition

Overloads

HttpCookiePairHeaderValue(String)

Initializes a new instance of the HttpCookiePairHeaderValue class. with a cookie name.

HttpCookiePairHeaderValue(String, String)

Initializes a new instance of the HttpCookiePairHeaderValue class. with a cookie name and a value for the cookie.

HttpCookiePairHeaderValue(String)

Initializes a new instance of the HttpCookiePairHeaderValue class. with a cookie name.

public:
 HttpCookiePairHeaderValue(Platform::String ^ name);
 HttpCookiePairHeaderValue(winrt::hstring const& name);
public HttpCookiePairHeaderValue(string name);
function HttpCookiePairHeaderValue(name)
Public Sub New (name As String)

Parameters

name
String

Platform::String

winrt::hstring

A token that represents the cookie name.

See also

Applies to

HttpCookiePairHeaderValue(String, String)

Initializes a new instance of the HttpCookiePairHeaderValue class. with a cookie name and a value for the cookie.

public:
 HttpCookiePairHeaderValue(Platform::String ^ name, Platform::String ^ value);
 HttpCookiePairHeaderValue(winrt::hstring const& name, winrt::hstring const& value);
public HttpCookiePairHeaderValue(string name, string value);
function HttpCookiePairHeaderValue(name, value)
Public Sub New (name As String, value As String)

Parameters

name
String

Platform::String

winrt::hstring

A token that represents the cookie name.

value
String

Platform::String

winrt::hstring

A value for the cookie.

See also

Applies to