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


IMapServerLegendClasses.Insert Method (ArcObjects .NET 10.4 SDK)
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