dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ErrorCollection Class / Item Property
The zero-based index of the error to retrieve.

In This Topic
    Item Property (DB2ErrorCollection)
    In This Topic
    Gets the error at the specified index. In C#, this property is the indexer for the DB2ErrorCollection class.
    Syntax
    'Declaration
     
    Public ReadOnly Default Property Item( _
       ByVal index As Integer _
    ) As DB2Error
    public DB2Error this[ 
       int index
    ]; {get;}

    Parameters

    index
    The zero-based index of the error to retrieve.

    Property Value

    An DB2Error that contains the error at the specified index.
    See Also