NAnt SDK Documentation - v0.92

FormatterDataCollection.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 FormatterData(), _
   ByVal index As Integer _
)
[C#]
public void CopyTo(
   FormatterData[] 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

FormatterDataCollection Class | NAnt.NUnit.Types Namespace