Result Collection Class
public ref class SearchResultCollection : MarshalByRefObject, IDisposable, System::Collections::ICollection
public class SearchResultCollection : MarshalByRefObject, IDisposable, System.Collections.ICollection
type SearchResultCollection = class inherit MarshalByRefObject interface ICollection interface IEnumerable interface IDisposable
Public Class SearchResultCollection Inherits MarshalByRefObject Implements ICollection, IDisposable
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.
Gets the number of SearchResult objects in this collection.
Gets the handle that is returned by the
Gets the SearchResult object that is located at a specified index in this collection.
Gets the DirectorySearcher properties that were specified before the search was executed.
Determines if a specified SearchResult object is in this collection.
Copies all SearchResult objects in this collection to the specific array, starting at the specified index in the target array.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Releases all resources that are used by the SearchResultCollection object.
Releases the unmanaged resources that are used by the SearchResultCollection object and optionally releases the managed resources.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Overrides the Finalize() method.
Returns an enumerator that you can use to iterate through this collection.
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Gets the Type of the current instance.(Inherited from Object)
Returns the index of the first occurrence of the specified SearchResult object in this collection.
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
Returns a string that represents the current object.(Inherited from Object)
Explicit Interface Implementations
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Gets an object that can be used to synchronize access to the ICollection.
Casts the elements of an IEnumerable to the specified type.
Filters the elements of an IEnumerable based on a specified type.
Enables parallelization of a query.