Delen via


HttpNameValueHeaderValue Constructors

Definition

Overloads

HttpNameValueHeaderValue(String)

Initializes a new instance of the HttpNameValueHeaderValue class. with a name.

HttpNameValueHeaderValue(String, String)

Initializes a new instance of the HttpNameValueHeaderValue class. with a name and value.

HttpNameValueHeaderValue(String)

Initializes a new instance of the HttpNameValueHeaderValue class. with a name.

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

Parameters

name
String

Platform::String

winrt::hstring

The name to be used.

See also

Applies to

HttpNameValueHeaderValue(String, String)

Initializes a new instance of the HttpNameValueHeaderValue class. with a name and value.

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

Parameters

name
String

Platform::String

winrt::hstring

The name to be used.

value
String

Platform::String

winrt::hstring

The value to associate with the name.

See also

Applies to