Share via


ProductInfoHeaderValue Oluşturucular

Tanım

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

ProductInfoHeaderValue(ProductHeaderValue)

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

ProductInfoHeaderValue(String)

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

ProductInfoHeaderValue(String, String)

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

ProductInfoHeaderValue(ProductHeaderValue)

Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

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)

Parametreler

product
ProductHeaderValue

ProductHeaderValue Yeni örneği başlatmak için kullanılan nesne.

Şunlara uygulanır

ProductInfoHeaderValue(String)

Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

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)

Parametreler

comment
String

Açıklama değeri.

Şunlara uygulanır

ProductInfoHeaderValue(String, String)

Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs
Kaynak:
ProductInfoHeaderValue.cs

ProductInfoHeaderValue sınıfının yeni bir örneğini başlatır.

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)

Parametreler

productName
String

Ürün adı değeri.

productVersion
String

Ürün sürümü değeri.

Şunlara uygulanır