OdbcErrorCollection.Item[Int32] 属性

定义

获取位于指定索引处的错误。Gets the error at the specified index.

public:
 property System::Data::Odbc::OdbcError ^ default[int] { System::Data::Odbc::OdbcError ^ get(int i); };
public System.Data.Odbc.OdbcError this[int i] { get; }
member this.Item(int) : System.Data.Odbc.OdbcError
Default Public ReadOnly Property Item(i As Integer) As OdbcError

参数

i
Int32

要检索的错误的从零开始的索引。The zero-based index of the error to retrieve.

属性值

OdbcError

包含在指定索引位置的错误的 OdbcErrorAn OdbcError that contains the error at the specified index.

适用于