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


IMapServerLegendInfos.Add Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLegendInfos.Add Method

Adds a legend info.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal info As IMapServerLegendInfo _
)
[C#]
public void Add (
    IMapServerLegendInfo info
);
[C++]
HRESULT Add(
  IMapServerLegendInfo* info
);
[C++]

Parameters info [in]
info is a parameter of type IMapServerLegendInfo*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapServerLegendInfos Interface