Sql.Net Class Library Documentation

WhereTermCollection.CopyTo Method 

Copies the WhereTermCollection values to a one-dimensional Array instance at the specified index.

public void CopyTo(
   WhereTerm[] array,
   int index
);

Parameters

array
The one-dimensional Array that is the destination of the values copied from WhereTermCollection.
index
The index in array where copying begins.

Exceptions

Exception Type Condition
ArgumentException

array is multidimensional.

-or-

The number of elements in the WhereTermCollection is greater than the available space between arrayIndex and the end of array.

ArgumentNullException array is a null reference.
ArgumentOutOfRangeException arrayIndex is less than array's lowbound.

See Also

WhereTermCollection Class | Reeb.SqlOM Namespace | Array