This documentation is archived and is not being maintained.

ResultPropertyCollection Class

Contains the properties of a SearchResult instance.

For a list of all members of this type, see ResultPropertyCollection Members.


[Visual Basic]
Public Class ResultPropertyCollection
   Inherits DictionaryBase
public class ResultPropertyCollection : DictionaryBase
public __gc class ResultPropertyCollection : public DictionaryBase
public class ResultPropertyCollection extends DictionaryBase

Thread Safety

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


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.


Namespace: System.DirectoryServices

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

Assembly: System.Directoryservices (in System.Directoryservices.dll)

See Also

ResultPropertyCollection Members | System.DirectoryServices Namespace | DirectoryEntry | DirectoryEntries | PropertyCollection | PropertyValueCollection | DirectorySearcher | ReferralChasingOption | SearchResultCollection | SearchResult | ResultPropertyValueCollection | SearchScope | SortDirection | SortOption