ProductInfoHeaderValue コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| ProductInfoHeaderValue(ProductHeaderValue) |
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。 |
| ProductInfoHeaderValue(String) |
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。 |
| ProductInfoHeaderValue(String, String) |
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。 |
ProductInfoHeaderValue(ProductHeaderValue)
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。
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)
パラメーター
- product
- ProductHeaderValue
新しいインスタンスの初期化に使用する ProductHeaderValue オブジェクト。
適用対象
ProductInfoHeaderValue(String)
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。
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)
パラメーター
- comment
- String
コメント値。
適用対象
ProductInfoHeaderValue(String, String)
ProductInfoHeaderValue クラスの新しいインスタンスを初期化します。
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)
パラメーター
- productName
- String
製品名の値。
- productVersion
- String
製品バージョンの値。