Rediger

Del via


OrderedDictionary<TKey,TValue>.KeyCollection.CopyTo Method

Definition

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

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

Parameters

array
TKey[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndex
Int32

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

Implements

Applies to