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


IMapServerLegendClasses.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendClasses Interface > IMapServerLegendClasses.Insert Method
ArcGIS Developer Help

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