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