次の方法で共有


SelectQuery.SelectedProperties プロパティ

クエリで選択するプロパティ名の配列を取得または設定します。

Public Property SelectedProperties As StringCollection
[C#]
public StringCollection SelectedProperties {get; set;}
[C++]
public: __property StringCollection* get_SelectedProperties();public: __property void set_SelectedProperties(StringCollection*);
[JScript]
public function get SelectedProperties() : StringCollection;public function set SelectedProperties(StringCollection);

プロパティ値

クエリで選択するプロパティの名前を格納している StringCollection

解説

このプロパティ値を設定すると、それまでにオブジェクトに格納された値をすべてオーバーライドします。クエリ文字列は新しいプロパティを反映するようにリビルドされます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

SelectQuery クラス | SelectQuery メンバ | System.Management 名前空間