NAnt SDK Documentation - v0.92

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

PatternCollection Class | NAnt.Core.Types Namespace