NAnt SDK Documentation - v0.92

FormatterCollection.CopyTo Method 

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

[Visual Basic]
Public Sub CopyTo( _
   ByVal array As Formatter(), _
   ByVal index As Integer _
)
[C#]
public void CopyTo(
   Formatter[] array,
   int index
);

Parameters

array
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

See Also

FormatterCollection Class | NAnt.Core.Types Namespace