Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ResultPropertyCollection Class
Collapse the table of content
Expand the table of content

ResultPropertyCollection Class

Contains the properties of a SearchResult instance.

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

public class ResultPropertyCollection : DictionaryBase
public class ResultPropertyCollection extends DictionaryBase
public class ResultPropertyCollection extends DictionaryBase
Not applicable.

SearchResult instances are similar to DirectoryEntry instances. The notable difference is that the DirectoryEntry retrieves its information from the Active Directory hierarchy each time a new object is accessed, whereas the data for the SearchResult is already available in the SearchResultCollection that a DirectorySearcher query returns. If you try to get a SearchResult property that your query did not specify for retrieval, the property will not be available.

System.Object
   System.Collections.DictionaryBase
    System.DirectoryServices.ResultPropertyCollection

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft