PropertyCollection.GetEnumerator Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an enumerator that you can use to iterate through this collection.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public IDictionaryEnumerator GetEnumerator()

Return Value

Type: System.Collections.IDictionaryEnumerator

An IDictionaryEnumerator that you can use to iterate through this collection.

Exception Condition
COMException

An error occurred during the call to the underlying interface.

.NET Framework
Available since 1.1
Return to top
Show: