Skip to content

M_Ekstrand_Collections_Generic_TwoKeyDictionary_3_KeyACollection_System_Collections_ICollection_CopyTo

Fred Ekstrand edited this page Aug 4, 2020 · 2 revisions

TwoKeyDictionary(TKeyA, TKeyB, TValue).KeyACollection.ICollection.CopyTo Method

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

Namespace: Ekstrand.Collections.Generic
Assembly: TwoKeyDictionary (in TwoKeyDictionary.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

void ICollection.CopyTo(
	Array array,
	int index
)

VB

Private Sub CopyTo ( 
	array As Array,
	index As Integer
) Implements ICollection.CopyTo

C++

private:
virtual void CopyTo(
	Array^ array, 
	int index
) sealed = ICollection::CopyTo

F#

private abstract CopyTo : 
        array : Array * 
        index : int -> unit 
private override CopyTo : 
        array : Array * 
        index : int -> unit 

Parameters

 

array
Type: System.Array
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
Type: System.Int32
The zero-based index in array at which copying begins.

Implements

ICollection.CopyTo(Array, Int32)

See Also

Reference

TwoKeyDictionary(TKeyA, TKeyB, TValue).KeyACollection Class
Ekstrand.Collections.Generic Namespace

Clone this wiki locally