SearchResultCollection Class
.NET Framework 3.0
The SearchResultCollection class contains the SearchResult instances that the Active Directory hierarchy returned during a DirectorySearcher query.
Namespace: System.DirectoryServices
Assembly: System.DirectoryServices (in system.directoryservices.dll)
Assembly: System.DirectoryServices (in system.directoryservices.dll)
'Declaration Public Class SearchResultCollection Inherits MarshalByRefObject Implements ICollection, IEnumerable, IDisposable 'Usage Dim instance As SearchResultCollection
public class SearchResultCollection extends MarshalByRefObject implements ICollection, IEnumerable, IDisposable
public class SearchResultCollection extends MarshalByRefObject implements ICollection, IEnumerable, IDisposable
Not applicable.
Due to implementation restrictions, the SearchResultCollection class cannot release all of its unmanaged resources when it is garbage collected. To prevent a memory leak, you must call the Dispose method when the SearchResultCollection object is no longer needed.
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.Community Additions
ADD
Show: