Share via


Legend.LegendEntries Method

Returns an object that represents either a single legend entry (a LegendEntry object) or a collection of legend entries (a LegendEntries object) for the legend.

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

Syntax

'Declaration
Function LegendEntries ( _
    Index As Object _
) As Object
'Usage
Dim instance As Legend
Dim Index As Object
Dim returnValue As Object

returnValue = instance.LegendEntries(Index)
Object LegendEntries(
    Object Index
)

Parameters

  • Index
    Type: System.Object

    Optional Object. The number of the legend entry.

Return Value

Type: System.Object

See Also

Reference

Legend Interface

Legend Members

Microsoft.Office.Interop.Excel Namespace