Share via


ProductHeaderValue Constructor (String)

Initializes a new instance of the ProductHeaderValue 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 ProductHeaderValue(name)
public ProductHeaderValue(
    string name
)
public:
ProductHeaderValue(
    String^ name
)
new : 
        name:string -> ProductHeaderValue
public function ProductHeaderValue(
    name : String
)

Parameters

See Also

Reference

ProductHeaderValue Class

ProductHeaderValue Overload

System.Net.Http.Headers Namespace