Table of Contents

Method CopyTo

Namespace
Oscova.Agents.Collections
Assembly
Oscova.Agents.dll

CopyTo(AIFunction[], int)

Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.

public void CopyTo(AIFunction[] array, int arrayIndex)

Parameters

array AIFunction[]

The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing.

arrayIndex int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.