プロパティ コレクションからプロパティ値を取得または設定するクラス。
メンバー
~PropertyCollection
構文: public inline ~PropertyCollection ( );
デストラクターです。
プロパティを設定
構文: public inline void SetProperty ( PropertyId propertyID , const std::string & value );
プロパティの値を設定します。
パラメーター
propertyIDプロパティの ID。 PropertyId を参照する設定する
value値
プロパティを設定
構文: public inline void SetProperty ( const std::string & propertyName , const std::string & value );
プロパティの値を設定します。
パラメーター
propertyNameプロパティの名前。設定する
value値
GetProperty
構文: public inline std::string GetProperty ( PropertyId propertyID , const std::string & defaultValue ) const;
プロパティの値を返します。 プロパティ値が定義されていない場合は、指定した既定値が返されます。
パラメーター
propertyIDプロパティの ID。 PropertyId を参照するdefaultValueプロパティに値が定義されていない場合に返される既定値 (既定では空の文字列)。
返品ポリシー
プロパティの値。
GetProperty
構文: public inline std::string GetProperty ( const std::string & propertyName , const std::string & defaultValue ) const;
プロパティの値を返します。 プロパティ値が定義されていない場合は、指定した既定値が返されます。
パラメーター
propertyNameプロパティの名前。defaultValueプロパティに値が定義されていない場合に返される既定値 (既定では空の文字列)。
返品ポリシー
プロパティの値。