SearchResultCollection overview
Count |
Gets the number of SearchResult objects in this collection. |
Handle |
Gets the handle returned by IDirectorySearch::ExecuteSearch, which was called by DirectorySearcher that created this collection. |
Item |
Gets the SearchResult object that is located at a specified index in this collection.
In C#, this property is the indexer for the SearchResultCollection class. |
PropertiesLoaded |
Gets the DirectorySearcher properties that were specified before the search was executed. |
Contains |
Determines if a specified SearchResult object is in this collection. |
CopyTo |
Copies the SearchResult objects from this collection to an array, starting at a particular index of the array. |
CreateObjRef (inherited from MarshalByRefObject) |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose |
Overloaded. Releases the resources used by the SearchResultCollection. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetEnumerator |
Returns an enumerator that you can use to iterate through this collection. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) |
Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
IndexOf |
Retrieves the index of a specified SearchResult object in this collection. |
InitializeLifetimeService (inherited from MarshalByRefObject) |
Obtains a lifetime service object to control the lifetime policy for this instance. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Dispose |
Overloaded. Releases the resources used by the SearchResultCollection. |
Finalize |
Overridden. See Object.Finalize.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
SearchResultCollection Class | System.DirectoryServices Namespace