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


IMapServerLegendInfos.Element Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLegendInfos.Element Property

The legend info at the specified position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal Index As Integer _
) As IMapServerLegendInfo
[C#]
public IMapServerLegendInfo get_Element (
    int Index
);
[C++]
HRESULT get_Element(
  long Index,
  IMapServerLegendInfo** info
);
[C++]

Parameters Index [in] Index is a parameter of type long info [out, retval]
info is a parameter of type IMapServerLegendInfo

Product Availability

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

See Also

IMapServerLegendInfos Interface