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.RemoveItem Method (ArcObjects .NET 10.5 SDK) |
Removes the specified item from the legend.
[Visual Basic .NET] Public Sub RemoveItem ( _ ByVal Index As Integer _ )
[C#] public void RemoveItem ( int Index );
[C++]
HRESULT RemoveItem(
long Index
);
[C++]
Parameters Index [in] Index is a parameter of type long