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


ILegendClasses.Insert Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILegendClasses.Insert Method

Add a legend class at the specified posiiton.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal LegendClass As ILegendClass _
)
[C#]
public void Insert (
    int Index,
    ILegendClass LegendClass
);
[C++]
HRESULT Insert(
  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.

See Also

ILegendClasses Interface