This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServer Interface > IGlobeServer.GetLegendInfos Method (ArcObjects .NET 10.5 SDK) |
Returns a collection of Globe Legend Info objects for the specified layers. If layerIDs is Nothing/Null or empty, legend information for all layers is returned.
[Visual Basic .NET] Public Function GetLegendInfos ( _ ByVal LayerIDs As ILongArray _ ) As IGlobeLegendInfos
[C#] public IGlobeLegendInfos GetLegendInfos ( ILongArray LayerIDs );
[C++]
HRESULT GetLegendInfos(
ILongArray* LayerIDs,
IGlobeLegendInfos** legendInfos
);
[C++]
Parameters LayerIDs [in]
LayerIDs is a parameter of type ILongArray legendInfos [out, retval]
legendInfos is a parameter of type IGlobeLegendInfos