แก้ไข

แชร์ผ่าน


NameValueHeaderValue Constructors

Definition

Initializes a new instance of the CLASS class.

Overloads

NameValueHeaderValue(NameValueHeaderValue)

Initializes a new instance of the NameValueHeaderValue class.

NameValueHeaderValue(String)

Initializes a new instance of the NameValueHeaderValue class.

NameValueHeaderValue(String, String)

Initializes a new instance of the NameValueHeaderValue class.

NameValueHeaderValue(NameValueHeaderValue)

Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs

Initializes a new instance of the NameValueHeaderValue class.

protected:
 NameValueHeaderValue(System::Net::Http::Headers::NameValueHeaderValue ^ source);
protected public:
 NameValueHeaderValue(System::Net::Http::Headers::NameValueHeaderValue ^ source);
protected NameValueHeaderValue (System.Net.Http.Headers.NameValueHeaderValue source);
protected internal NameValueHeaderValue (System.Net.Http.Headers.NameValueHeaderValue source);
new System.Net.Http.Headers.NameValueHeaderValue : System.Net.Http.Headers.NameValueHeaderValue -> System.Net.Http.Headers.NameValueHeaderValue
Protected Sub New (source As NameValueHeaderValue)
Protected Friend Sub New (source As NameValueHeaderValue)

Parameters

source
NameValueHeaderValue

A NameValueHeaderValue object used to initialize the new instance.

Applies to

NameValueHeaderValue(String)

Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs

Initializes a new instance of the NameValueHeaderValue class.

public:
 NameValueHeaderValue(System::String ^ name);
public NameValueHeaderValue (string name);
new System.Net.Http.Headers.NameValueHeaderValue : string -> System.Net.Http.Headers.NameValueHeaderValue
Public Sub New (name As String)

Parameters

name
String

The header name.

Applies to

NameValueHeaderValue(String, String)

Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs
Source:
NameValueHeaderValue.cs

Initializes a new instance of the NameValueHeaderValue class.

public:
 NameValueHeaderValue(System::String ^ name, System::String ^ value);
public NameValueHeaderValue (string name, string value);
public NameValueHeaderValue (string name, string? value);
new System.Net.Http.Headers.NameValueHeaderValue : string * string -> System.Net.Http.Headers.NameValueHeaderValue
Public Sub New (name As String, value As String)

Parameters

name
String

The header name.

value
String

The header value.

Applies to