Muokkaa

Jaa


ProductInfoHeaderValue Constructors

Definition

Initializes a new instance of the ProductInfoHeaderValue class.

Overloads

ProductInfoHeaderValue(ProductHeaderValue)

Initializes a new instance of the ProductInfoHeaderValue class.

ProductInfoHeaderValue(String)

Initializes a new instance of the ProductInfoHeaderValue class.

ProductInfoHeaderValue(String, String)

Initializes a new instance of the ProductInfoHeaderValue class.

ProductInfoHeaderValue(ProductHeaderValue)

Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs

Initializes a new instance of the ProductInfoHeaderValue class.

public:
 ProductInfoHeaderValue(System::Net::Http::Headers::ProductHeaderValue ^ product);
public ProductInfoHeaderValue (System.Net.Http.Headers.ProductHeaderValue product);
new System.Net.Http.Headers.ProductInfoHeaderValue : System.Net.Http.Headers.ProductHeaderValue -> System.Net.Http.Headers.ProductInfoHeaderValue
Public Sub New (product As ProductHeaderValue)

Parameters

product
ProductHeaderValue

A ProductHeaderValue object used to initialize the new instance.

Applies to

ProductInfoHeaderValue(String)

Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs

Initializes a new instance of the ProductInfoHeaderValue class.

public:
 ProductInfoHeaderValue(System::String ^ comment);
public ProductInfoHeaderValue (string comment);
new System.Net.Http.Headers.ProductInfoHeaderValue : string -> System.Net.Http.Headers.ProductInfoHeaderValue
Public Sub New (comment As String)

Parameters

comment
String

A comment value.

Applies to

ProductInfoHeaderValue(String, String)

Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs
Source:
ProductInfoHeaderValue.cs

Initializes a new instance of the ProductInfoHeaderValue class.

public:
 ProductInfoHeaderValue(System::String ^ productName, System::String ^ productVersion);
public ProductInfoHeaderValue (string productName, string productVersion);
public ProductInfoHeaderValue (string productName, string? productVersion);
new System.Net.Http.Headers.ProductInfoHeaderValue : string * string -> System.Net.Http.Headers.ProductInfoHeaderValue
Public Sub New (productName As String, productVersion As String)

Parameters

productName
String

The product name value.

productVersion
String

The product version value.

Applies to