LegendEntries LegendEntries LegendEntries Interface

Definition

A collection of all the LegendEntry objects in the specified chart legend.

public interface class LegendEntries : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000208BB-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface LegendEntries : System.Collections.IEnumerable
Public Interface LegendEntries
Implements IEnumerable
Attributes
Implements

Remarks

Each legend entry has two parts: the text of the entry, which is the name of the series or trendline associated with the legend entry; and the entry marker, which visually links the legend entry with its associated series or trendline in the chart. The formatting properties for the entry marker and its associated series or trendline are contained in the LegendKey object.

Use the LegendEntries(Object) method to return the LegendEntries collection.

Use LegendEntries(index), where index is the legend entry index number, to return a single LegendEntry object. You cannot return legend entries by name.

The index number represents the position of the legend entry in the legend. LegendEntries(1) is at the top of the legend; LegendEntries(LegendEntries.Count) is at the bottom.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Count Count Count

Returns the number of objects in the collection.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent Parent Parent

Returns the parent object for the specified object.

Methods

_Default(Object) _Default(Object) _Default(Object)

Reserved for internal use.

GetEnumerator() GetEnumerator() GetEnumerator()
Item(Object) Item(Object) Item(Object)

Returns a single object from a collection.

Applies to