This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.DefaultLegendItem Property (ArcObjects .NET 10.5 SDK) |
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