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 > ILegend Interface > ILegend.AddItem Method (ArcObjects .NET 10.5 SDK) |
Adds a new item to the legend (to the end of the list).
[Visual Basic .NET] Public Sub AddItem ( _ ByVal Item As ILegendItem _ )
[C#] public void AddItem ( ILegendItem Item );
[C++]
HRESULT AddItem(
ILegendItem* Item
);
[C++]
Parameters Item [in]
Item is a parameter of type ILegendItem