IMapServerLegendInfos Interface

Provides access to the Map Server Legend Infos Interface.

Members

Name Description
Method Add Adds a legend info.
Read-only property Count The legend info count.
Read-only property Element The legend info at the specified position.
Method Insert Adds a legend info at the specified position.
Method Remove Removes the legend info at the specified position.
Method RemoveAll Removes all legend infos.

IMapServerLegendInfos.Add Method

Adds a legend info.

Public Sub Add ( _
    ByVal info As IMapServerLegendInfo _
)
public void Add (
    IMapServerLegendInfo info
);

IMapServerLegendInfos.Count Property

The legend info count.

Public ReadOnly Property Count As Integer
public int Count {get;}

IMapServerLegendInfos.Element Property

The legend info at the specified position.

Public Function get_Element ( _
    ByVal Index As Integer _
) As IMapServerLegendInfo
public IMapServerLegendInfo get_Element (
    int Index
);

IMapServerLegendInfos.Insert Method

Adds a legend info at the specified position.

Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal info As IMapServerLegendInfo _
)
public void Insert (
    int Index,
    IMapServerLegendInfo info
);

IMapServerLegendInfos.Remove Method

Removes the legend info at the specified position.

Public Sub Remove ( _
    ByVal Index As Integer _
)
public void Remove (
    int Index
);

IMapServerLegendInfos.RemoveAll Method

Removes all legend infos.

Public Sub RemoveAll ( _
)
public void RemoveAll (
);

Classes that implement IMapServerLegendInfos

Classes Description
MapServerLegendInfos A collection of Map Server Legend Info objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close