Share via


LegendEntries.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 Object _
) As LegendEntry
'Usage
Dim instance As LegendEntries
Dim Index As Object
Dim returnValue As LegendEntry

returnValue = instance.Item(Index)
LegendEntry Item(
    Object Index
)

Parameters

  • Index
    Type: System.Object

    Required Object. The name or index number for the object.

Return Value

Type: Microsoft.Office.Interop.Excel.LegendEntry

See Also

Reference

LegendEntries Interface

LegendEntries Members

Microsoft.Office.Interop.Excel Namespace