Upraviť

Zdieľať cez


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

Definition

Copies the contents of the collection to the specified array, starting at the specified position in the array.

public:
 virtual void CopyTo(cli::array <T> ^ array, int index);
public void CopyTo (T[] array, int index);
abstract member CopyTo : 'T[] * int -> unit
override this.CopyTo : 'T[] * int -> unit
Public Sub CopyTo (array As T(), index As Integer)

Parameters

array
T[]

An Array of objects.

index
Int32

An integer representing the position in array to which the first object in the collection should be copied.

Implements

Applies to