SynchronizedCollection<T>.CopyTo Method (T[], Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Copies the elements of the collection to a specified array, starting at a particular index.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void CopyTo(
	T[] array,
	int index
)

Parameters

array
Type: T[]

The destination Array for the elements of type T copied from the collection.

index
Type: System.Int32

The zero-based index in the array at which copying begins.

.NET Framework
Available since 3.0
Return to top
Show: