This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendInfos Interface > IMapServerLegendInfos.Insert Method (ArcObjects .NET 10.5 SDK) |
Adds a legend info at the specified position.
[Visual Basic .NET] Public Sub Insert ( _ ByVal Index As Integer, _ ByVal info As IMapServerLegendInfo _ )
[C#] public void Insert ( int Index, IMapServerLegendInfo info );
[C++]
HRESULT Insert(
long Index,
IMapServerLegendInfo* info
);
[C++]
Parameters Index [in] Index is a parameter of type long info [in]
info is a parameter of type IMapServerLegendInfo