ArcGIS API for Windows Phone - Library Reference
QueryLegendInfos Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > TemporalRenderer Class : QueryLegendInfos Method

callback
The method to call on completion.
errorCallback
The method to call in the event of an error.
Queries for the legend infos of a layer using this renderer.

Syntax

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
)

Remarks

The returned result is encapsulated in a LayerLegendInfo containing the collection of legenditems coresponding to the renderer.

Parameters

callback
The method to call on completion.
errorCallback
The method to call in the event of an error.

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.