Copies the elements in the Set to an array. The type of array needs to be compatible with the objects in the Set, obviously.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public override sealed void CopyTo(
	Array array,
	int index
)
Visual Basic
Public Overrides NotOverridable Sub CopyTo ( _
	array As Array, _
	index As Integer _
)
Visual C++
public:
virtual void CopyTo(
	Array^ array, 
	int index
) override sealed

Parameters

array
Type: System..::..Array
An array that will be the target of the copy operation.
index
Type: System..::..Int32
The zero-based index where copying will start.

Implements

ICollection..::..CopyTo(Array, Int32)

See Also