Click or drag to resize

ILayerContentGetLegendInfosAsync Method

Returns an immutable list of LegendInfo.

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
Task<IReadOnlyList<LegendInfo>> GetLegendInfosAsync()

Return Value

Type: TaskIReadOnlyListLegendInfo
The task object representing the asynchronous get legend infos operation. The value of the task result contains a read-only collection of LegendInfo objects.
See Also