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


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

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