System::Net::Http::Headers::ProductInfoHeaderValue クラス

ProductInfoHeaderValue class

‘User-Agent’ ヘッダーの値における製品またはコメントを表します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してインスタンスを作成しないでください。実行時エラーやアサーション失敗の原因になります。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数への引数として渡すようにしてください。

class ProductInfoHeaderValue : public System::ICloneable

メソッド

メソッド説明
Equals(System::SharedPtr<Object>) overrideC# の Object.Equals セマンティクスを使用してオブジェクトを比較します。
get_Comment()コメントを返します。
get_Product()RTTI 情報。
GetHashCode() const overrideC# の Object.GetHashCode() メソッドの類似です。カスタムオブジェクトのハッシュ化を可能にします。
static GetProductInfoLength(String, int32_t, System::SharedPtr<ProductInfoHeaderValue>&)指定されたインデックスから渡された文字列を ProductInfoHeaderValue クラスのインスタンスに変換します。
static Parse(String)渡された文字列を ProductInfoHeaderValue クラスのインスタンスに変換します。
ProductInfoHeaderValue(String, String)新しいインスタンスを構築します。
ProductInfoHeaderValue(System::SharedPtr<ProductHeaderValue>)新しいインスタンスを構築します。
ProductInfoHeaderValue(String)新しいインスタンスを構築します。
ToString() const overrideC# の Object.ToString() メソッドに相当します。カスタムオブジェクトを文字列に変換できるようにします。
static TryParse(String, System::SharedPtr<ProductInfoHeaderValue>&)渡された文字列を ProductInfoHeaderValue クラスのインスタンスに変換しようとします。

参照