Share via


ODBCErrors.Item Method

Returns a single object from a collection.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Item ( _
    Index As Integer _
) As ODBCError
'Usage
Dim instance As ODBCErrors
Dim Index As Integer
Dim returnValue As ODBCError

returnValue = instance.Item(Index)
ODBCError Item(
    int Index
)

Parameters

  • Index
    Type: System.Int32

    Required Integer. The index number for the object.

Return Value

Type: Microsoft.Office.Interop.Excel.ODBCError

See Also

Reference

ODBCErrors Interface

ODBCErrors Members

Microsoft.Office.Interop.Excel Namespace