ProductInfoHeaderValue Constructor (String, String)
Initializes a new instance of the ProductInfoHeaderValue class.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Sub New ( _
productName As String, _
productVersion As String _
)
'Usage
Dim productName As String
Dim productVersion As String
Dim instance As New ProductInfoHeaderValue(productName, _
productVersion)
public ProductInfoHeaderValue(
string productName,
string productVersion
)
public:
ProductInfoHeaderValue(
String^ productName,
String^ productVersion
)
new :
productName:string *
productVersion:string -> ProductInfoHeaderValue
public function ProductInfoHeaderValue(
productName : String,
productVersion : String
)
Parameters
- productName
Type: System.String
- productVersion
Type: System.String