NameValueHeaderValue Constructor (String^, String^)

.NET Framework (current version)
 

Initializes a new instance of the NameValueHeaderValue class.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
NameValueHeaderValue(
	String^ name,
	String^ value
)

Parameters

name
Type: System::String^

The header name.

value
Type: System::String^

The header value.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: