次の方法で共有


PropertyCollection.PropertyNames プロパティ

このコレクション内のプロパティの名前を取得します。

Public ReadOnly Property PropertyNames As ICollection
[C#]
public ICollection PropertyNames {get;}
[C++]
public: __property ICollection* get_PropertyNames();
[JScript]
public function get PropertyNames() : ICollection;

プロパティ値

このコレクション内のプロパティの名前が格納されている ICollection

解説

PropertyNames プロパティのメンバにアクセスするとき、基になるインターフェイスにアクセスするときに発生したエラーが原因で、 COMException がスローされることがあります。

必要条件

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

.NET Framework セキュリティ:

参照

PropertyCollection クラス | PropertyCollection メンバ | System.DirectoryServices 名前空間 | ICollection | COMException