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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also