PropertyCollection.PropertyNames Property

 

Gets the names of the properties in this collection.

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

public ICollection PropertyNames { get; }

Property Value

Type: System.Collections.ICollection

An ICollection object that contains the names of the properties in this collection.

When accessing members of the PropertyNames property, a COMException might be thrown due to an error while accessing the underlying interface.

.NET Framework
Available since 1.1
Return to top
Show: