Firebird ADO.NET Provider SDK Documentation - v1.7

FbErrorCollection.CopyTo Method 

Copies the elements of the FbErrorCollection collection into an Array, starting at the given index within the Array.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
   ByVal array As Array, _
   ByVal index As Integer _
) _
    Implements ICollection.CopyTo
[C#]
public void CopyTo(
   Array array,
   int index
);

Parameters

array
The Array to copy elements into.
index
The index from which to start copying into the array parameter.

Implements

ICollection.CopyTo

Exceptions

Exception Type Condition
ArgumentException The sum of index and the number of elements in the FbErrorCollection collection is greater than Array.
ArgumentNullException The array is a null reference.
ArgumentOutOfRangeException The index is not valid for the array.

See Also

FbErrorCollection Class | FirebirdSql.Data.Firebird Namespace