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

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

IMapServerLegendInfos.Add Method

Adds a legend info.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal info As IMapServerLegendInfo _
public void Add (
    IMapServerLegendInfo info
  IMapServerLegendInfo* info
info [in]

info is a parameter of type IMapServerLegendInfo*

Product Availability

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

See Also

IMapServerLegendInfos Interface