ProductHeaderValue Constructor (String, 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, _
version As String _
)
'Usage
Dim name As String
Dim version As String
Dim instance As New ProductHeaderValue(name, version)
public ProductHeaderValue(
string name,
string version
)
public:
ProductHeaderValue(
String^ name,
String^ version
)
new :
name:string *
version:string -> ProductHeaderValue
public function ProductHeaderValue(
name : String,
version : String
)
Parameters
- name
Type: System.String
- version
Type: System.String