Share via


ProductInfoHeaderValue Konstruktory

Definice

Inicializuje novou instanci ProductInfoHeaderValue třídy .

Přetížení

ProductInfoHeaderValue(ProductHeaderValue)

Inicializuje novou instanci ProductInfoHeaderValue třídy .

ProductInfoHeaderValue(String)

Inicializuje novou instanci ProductInfoHeaderValue třídy .

ProductInfoHeaderValue(String, String)

Inicializuje novou instanci ProductInfoHeaderValue třídy .

ProductInfoHeaderValue(ProductHeaderValue)

Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs

Inicializuje novou instanci ProductInfoHeaderValue třídy .

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)

Parametry

product
ProductHeaderValue

Objekt ProductHeaderValue použitý k inicializaci nové instance.

Platí pro

ProductInfoHeaderValue(String)

Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs

Inicializuje novou instanci ProductInfoHeaderValue třídy .

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)

Parametry

comment
String

Hodnota komentáře.

Platí pro

ProductInfoHeaderValue(String, String)

Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs
Zdroj:
ProductInfoHeaderValue.cs

Inicializuje novou instanci ProductInfoHeaderValue třídy .

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)

Parametry

productName
String

Hodnota názvu produktu.

productVersion
String

Hodnota verze produktu.

Platí pro