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

ILegend.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 > ILegend Interface > ILegend.RemoveItem Method
ArcGIS Developer Help

ILegend.RemoveItem Method

Removes the specified item from the legend.

[Visual Basic .NET]
Public Sub RemoveItem ( _
    ByVal Index As Integer _
public void RemoveItem (
    int Index
HRESULT RemoveItem(
  long Index
Index [in]

Index is a parameter of type long

Product Availability

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

See Also

ILegend Interface