編輯

共用方式為


PrincipalValueCollection<T>.ICollection.CopyTo(Array, Int32) Method

Definition

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

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

Parameters

array
Array

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