ProductHeaderValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ProductHeaderValue class.
Overloads
ProductHeaderValue(String) |
Initializes a new instance of the ProductHeaderValue class. |
ProductHeaderValue(String, String) |
Initializes a new instance of the ProductHeaderValue class. |
ProductHeaderValue(String)
- Source:
- ProductHeaderValue.cs
- Source:
- ProductHeaderValue.cs
- Source:
- ProductHeaderValue.cs
Initializes a new instance of the ProductHeaderValue class.
public:
ProductHeaderValue(System::String ^ name);
public ProductHeaderValue (string name);
new System.Net.Http.Headers.ProductHeaderValue : string -> System.Net.Http.Headers.ProductHeaderValue
Public Sub New (name As String)
Parameters
- name
- String
The product name.
Applies to
ProductHeaderValue(String, String)
- Source:
- ProductHeaderValue.cs
- Source:
- ProductHeaderValue.cs
- Source:
- ProductHeaderValue.cs
Initializes a new instance of the ProductHeaderValue class.
public:
ProductHeaderValue(System::String ^ name, System::String ^ version);
public ProductHeaderValue (string name, string version);
public ProductHeaderValue (string name, string? version);
new System.Net.Http.Headers.ProductHeaderValue : string * string -> System.Net.Http.Headers.ProductHeaderValue
Public Sub New (name As String, version As String)
Parameters
- name
- String
The product name value.
- version
- String
The product version value.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.