Sdílet prostřednictvím


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

Definition

Copies items from this collection into an array.

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

Parameters

array
T[]

An array to receive items from the collection.

index
Int32

An index in the array specifying where to start copying items. To start at the beginning of the array, pass a value of 0.

Applies to