This documentation is archived and is not being maintained.

ResultPropertyValueCollection Class

Contains the values of a SearchResult property.

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

System.Object
   System.Collections.ReadOnlyCollectionBase
      System.DirectoryServices.ResultPropertyValueCollection

[Visual Basic]
Public Class ResultPropertyValueCollection
   Inherits ReadOnlyCollectionBase
[C#]
public class ResultPropertyValueCollection : ReadOnlyCollectionBase
[C++]
public __gc class ResultPropertyValueCollection : public
   ReadOnlyCollectionBase
[JScript]
public class ResultPropertyValueCollection extends
   ReadOnlyCollectionBase

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.

Remarks

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.

Requirements

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

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

Show: