次の方法で共有


PropertyCollection.GetEnumerator メソッド

このコレクションを反復処理するために使用できる列挙子を返します。

Public Overridable Function GetEnumerator() As IDictionaryEnumerator _   Implements IDictionary.GetEnumerator
[C#]
public virtual IDictionaryEnumerator GetEnumerator();
[C++]
public: virtual IDictionaryEnumerator* GetEnumerator();
[JScript]
public function GetEnumerator() : IDictionaryEnumerator;

戻り値

このコレクションを反復処理するために使用できる IDictionaryEnumerator

実装

IDictionary.GetEnumerator

例外

例外の種類 条件
NotSupportedException ディレクトリ エントリがプロパティを列挙できません。
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 名前空間 | IEnumerator | COMException