Edit

Bagikan melalui


ListView.CheckedIndexCollection.ICollection.CopyTo(Array, Int32) Method

Definition

Copies the collection of checked-item indexes into an array.

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

Parameters

dest
Array

An array of type Int32.

index
Int32

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

Implements

Exceptions

The array type cannot be cast to an Int32.

Remarks

The array must contain 32-bit signed integers, or it must be an Object array.

Applies to