Partilhar via


NameValueHeaderValue Construtores

Definição

Sobrecargas

NameValueHeaderValue(StringSegment)

Inicializa uma nova instância de NameValueHeaderValue.

NameValueHeaderValue(String)
NameValueHeaderValue(StringSegment, StringSegment)

Inicializa uma nova instância de NameValueHeaderValue.

NameValueHeaderValue(String, String)

NameValueHeaderValue(StringSegment)

Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs

Inicializa uma nova instância de NameValueHeaderValue.

public:
 NameValueHeaderValue(Microsoft::Extensions::Primitives::StringSegment name);
public NameValueHeaderValue (Microsoft.Extensions.Primitives.StringSegment name);
new Microsoft.Net.Http.Headers.NameValueHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.NameValueHeaderValue
Public Sub New (name As StringSegment)

Parâmetros

name
StringSegment

O nome do cabeçalho.

Aplica-se a

NameValueHeaderValue(String)

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

Parâmetros

name
String

Aplica-se a

NameValueHeaderValue(StringSegment, StringSegment)

Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs
Origem:
NameValueHeaderValue.cs

Inicializa uma nova instância de NameValueHeaderValue.

public:
 NameValueHeaderValue(Microsoft::Extensions::Primitives::StringSegment name, Microsoft::Extensions::Primitives::StringSegment value);
public NameValueHeaderValue (Microsoft.Extensions.Primitives.StringSegment name, Microsoft.Extensions.Primitives.StringSegment value);
new Microsoft.Net.Http.Headers.NameValueHeaderValue : Microsoft.Extensions.Primitives.StringSegment * Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.NameValueHeaderValue
Public Sub New (name As StringSegment, value As StringSegment)

Parâmetros

name
StringSegment

O nome do cabeçalho.

value
StringSegment

O valor do cabeçalho.

Aplica-se a

NameValueHeaderValue(String, String)

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

Parâmetros

name
String
value
String

Aplica-se a