ArcObjects Library Reference (Carto)  

IMapServerLegendClasses.Insert Method

Adds a legend class at the specified position.

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

Parameters

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

  LegendClass is a parameter of type IMapServerLegendClass

Product Availability

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

See Also

IMapServerLegendClasses Interface