IMapServerLegendClasses Interface

Provides access to the Map Server Legend Classes Interface.

Members

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

IMapServerLegendClasses.Add Method

Adds a legend class.

Public Sub Add ( _
    ByVal LegendClass As IMapServerLegendClass _
)
public void Add (
    IMapServerLegendClass LegendClass
);

IMapServerLegendClasses.Count Property

The legend class count.

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

IMapServerLegendClasses.Element Property

The legend class at the specified position.

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

IMapServerLegendClasses.Insert Method

Adds a legend class at the specified position.

Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal LegendClass As IMapServerLegendClass _
)
public void Insert (
    int Index,
    IMapServerLegendClass LegendClass
);

IMapServerLegendClasses.Remove Method

Removes the legend class at the specified position.

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

IMapServerLegendClasses.RemoveAll Method

Removes all legend classes.

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

Classes that implement IMapServerLegendClasses

Classes Description
MapServerLegendClasses A collection of Map Server Legend Class 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