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


ILegend2.RemoveItem Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegend2 Interface > ILegend2.RemoveItem Method
ArcGIS Developer Help

ILegend2.RemoveItem Method

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

Product Availability

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

See Also

ILegend2 Interface