HttpNameValueHeaderValue Constructors
Definition
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.
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.