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


ILegend3.DefaultLegendItem Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILegend3.DefaultLegendItem Property

The default legend item for the specified layer.

[Visual Basic .NET]
Public Function get_DefaultLegendItem ( _
    ByVal Layer As ILayer _
) As ILegendItem
[C#]
public ILegendItem get_DefaultLegendItem (
    ILayer Layer
);
[C++]
HRESULT get_DefaultLegendItem(
  ILayer* Layer,
  ILegendItem** Item
);
[C++]

Parameters Layer [in]
Layer is a parameter of type ILayer* Item [out, retval]
Item is a parameter of type ILegendItem**

Product Availability

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

See Also

ILegend3 Interface