OleDbErrorCollection::CopyTo Method (array<OleDbError^>^, Int32)
.NET Framework (current version)
Copies all the elements of the current OleDbErrorCollection to the specified OleDbErrorCollection starting at the specified destination index.
Assembly: System.Data (in System.Data.dll)
Parameters
- array
-
Type:
array<System.Data.OleDb::OleDbError^>^
The OleDbErrorCollection that is the destination of the elements copied from the current OleDbErrorCollection.
- index
-
Type:
System::Int32
A 32-bit integer that represents the index in the OleDbErrorCollection at which copying starts.
The following example displays each OleDbError within the OleDbErrorCollection collection.
.NET Framework
Available since 2.0
Available since 2.0
CopyTo Overload
OleDbErrorCollection Class
System.Data.OleDb Namespace
Exceptions Overview
Show: