Visual Basic (Declaration) | |
---|---|
Public Sub QueryLegendInfos( _ ByVal callback As Action(Of LayerLegendInfo), _ ByVal errorCallback As Action(Of Exception) _ ) |
C# | |
---|---|
public void QueryLegendInfos( Action<LayerLegendInfo> callback, Action<Exception> errorCallback ) |
Parameters
- callback
- The method to call on completion.
- errorCallback
- The method to call in the event of an error.
The returned result is encapsulated in a ESRI.ArcGIS.Client.LayerLegendInfo object containing one legend item showing the heat map gradient.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family