TechNet
Export (0) Print
Expand All

SearchResultCollection.CopyTo Method (SearchResult[], Int32)

 

Copies all SearchResult objects in this collection to the specific array, starting at the specified index in the target array.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public void CopyTo(
	SearchResult[] results,
	int index
)

Parameters

results
Type: System.DirectoryServices.SearchResult[]

The array of SearchResult objects that receives the elements of this collection.

index
Type: System.Int32

The zero-based index in results where this method starts copying this collection.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft