Partager via


NameValueHeaderValue Constructor (String)

Initializes a new instance of the NameValueHeaderValue class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String _
)
'Usage
Dim name As String 

Dim instance As New NameValueHeaderValue(name)
public NameValueHeaderValue(
    string name
)
public:
NameValueHeaderValue(
    String^ name
)
new : 
        name:string -> NameValueHeaderValue
public function NameValueHeaderValue(
    name : String
)

Parameters

See Also

Reference

NameValueHeaderValue Class

NameValueHeaderValue Overload

System.Net.Http.Headers Namespace