This document is archived and information here might be outdated.  Recommended version.


ILegend.Item Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILegend.Item Property

The specified item from the legend.

[Visual Basic .NET]
Public Function get_Item ( _
    ByVal Index As Integer _
) As ILegendItem
[C#]
public ILegendItem get_Item (
    int Index
);
[C++]
HRESULT get_Item(
  long Index,
  ILegendItem** Item
);
[C++]

Parameters Index [in] Index is a parameter of type long Item [out, retval]
Item is a parameter of type ILegendItem

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILegend Interface