ArcObjects Library Reference (Carto)  

ILegendGroup.InsertClass Method

Inserts a new legend class into the group at the specified index.

[Visual Basic .NET]
Public Sub InsertClass ( _
    ByVal Index As Integer, _
    ByVal LegendClass As ILegendClass _
)
[C#]
public void InsertClass (
    int Index,
    ILegendClass LegendClass
);
[C++]
HRESULT InsertClass(
  long Index,
  ILegendClass* LegendClass
);
[C++]

Parameters

Index [in]   Index is a parameter of type long LegendClass [in]

  LegendClass is a parameter of type ILegendClass

Product Availability

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

Remarks

Modifying the number of classes in a LegendGroup through addition, insertion, and deletion is the job of the renderer object.

See Also

ILegendGroup Interface