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


ILegend3.RemoveItem Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILegend3.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

ILegend3 Interface