NameValueWithParametersHeaderValue Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NameValueWithParametersHeaderValue class.
NameValueWithParametersHeaderValue(NameValueWithParametersHeaderValue) |
Initializes a new instance of the NameValueWithParametersHeaderValue class. |
NameValueWithParametersHeaderValue(String) |
Initializes a new instance of the NameValueWithParametersHeaderValue class. |
NameValueWithParametersHeaderValue(String, String) |
Initializes a new instance of the NameValueWithParametersHeaderValue class. |
Initializes a new instance of the NameValueWithParametersHeaderValue class.
protected:
NameValueWithParametersHeaderValue(System::Net::Http::Headers::NameValueWithParametersHeaderValue ^ source);
protected NameValueWithParametersHeaderValue(System.Net.Http.Headers.NameValueWithParametersHeaderValue source);
new System.Net.Http.Headers.NameValueWithParametersHeaderValue : System.Net.Http.Headers.NameValueWithParametersHeaderValue -> System.Net.Http.Headers.NameValueWithParametersHeaderValue
Protected Sub New (source As NameValueWithParametersHeaderValue)
Parameters
A NameValueWithParametersHeaderValue object used to initialize the new instance.
Applies to
.NET 10 a ďalšie verzie
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Initializes a new instance of the NameValueWithParametersHeaderValue class.
public:
NameValueWithParametersHeaderValue(System::String ^ name);
public NameValueWithParametersHeaderValue(string name);
new System.Net.Http.Headers.NameValueWithParametersHeaderValue : string -> System.Net.Http.Headers.NameValueWithParametersHeaderValue
Public Sub New (name As String)
Parameters
- name
- String
The header name.
Applies to
.NET 10 a ďalšie verzie
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Initializes a new instance of the NameValueWithParametersHeaderValue class.
public:
NameValueWithParametersHeaderValue(System::String ^ name, System::String ^ value);
public NameValueWithParametersHeaderValue(string name, string value);
public NameValueWithParametersHeaderValue(string name, string? value);
new System.Net.Http.Headers.NameValueWithParametersHeaderValue : string * string -> System.Net.Http.Headers.NameValueWithParametersHeaderValue
Public Sub New (name As String, value As String)
Parameters
- name
- String
The header name.
- value
- String
The header value.
Applies to
.NET 10 a ďalšie verzie
Produkt | Verzie |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
UWP | 10.0 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: