Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyCollection.PropertyNames Property

Gets the names of the properties in this collection.

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

Property Value

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

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

PropertyCollection Class | PropertyCollection Members | System.DirectoryServices Namespace | ICollection | COMException

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft