Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ImmutableSet.CopyTo Method

Copies the elements in the ISet to an array.

[Visual Basic]
Public NotOverridable Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) _
    Implements ICollection.CopyTo
[C#]
public void CopyTo(
   Array array,
   int index
);

Parameters

array
An array that will be the target of the copy operation.
index
The zero-based index where copying will start.

Implements

ICollection.CopyTo

Remarks

The type of array needs to be compatible with the objects in the ISet, obviously.

See Also

ImmutableSet Class | Spring.Collections Namespace