Partager via


NameValueHeaderValue Constructeurs

Définition

Surcharges

NameValueHeaderValue(StringSegment)

Initialise une nouvelle instance de NameValueHeaderValue.

NameValueHeaderValue(String)
NameValueHeaderValue(StringSegment, StringSegment)

Initialise une nouvelle instance de NameValueHeaderValue.

NameValueHeaderValue(String, String)

NameValueHeaderValue(StringSegment)

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

Initialise une nouvelle instance 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)

Paramètres

name
StringSegment

Nom de l'en-tête.

S’applique à

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)

Paramètres

name
String

S’applique à

NameValueHeaderValue(StringSegment, StringSegment)

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

Initialise une nouvelle instance 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)

Paramètres

name
StringSegment

Nom de l'en-tête.

value
StringSegment

La valeur d’en-tête.

S’applique à

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)

Paramètres

name
String
value
String

S’applique à