Partager via


OLEDBErrors.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 OLEDBError
'Usage
Dim instance As OLEDBErrors
Dim Index As Integer
Dim returnValue As OLEDBError

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

Parameters

  • Index
    Type: System.Int32

    Required Integer. The index number for the object.

Return Value

Type: Microsoft.Office.Interop.Excel.OLEDBError

See Also

Reference

OLEDBErrors Interface

OLEDBErrors Members

Microsoft.Office.Interop.Excel Namespace