OptionCollection.

CopyTo(Option[], int) Method

Summary

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
OptionCollection

Syntax

public void CopyTo(Option[] array, int index)

Parameters

Name Type Description
array Option[] The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
index int The zero-based index in array at which copying begins.

Return Value

Type Description
void