Sql.Net Class Library Documentation

WhereClauseCollection.CopyTo Method 

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

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

Parameters

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

Exceptions

Exception Type Condition
ArgumentException

array is multidimensional.

-or-

The number of elements in the WhereClauseCollection 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

WhereClauseCollection Class | Reeb.SqlOM Namespace | Array