Visual Basic (Declaration) | |
---|---|
Public Overridable Sub QueryLegendInfos( _ ByVal callback As Action(Of LayerLegendInfo), _ ByVal errorCallback As Action(Of Exception) _ ) |
C# | |
---|---|
public virtual void QueryLegendInfos( Action<LayerLegendInfo> callback, Action<Exception> errorCallback ) |
The returned result is encapsulated in a LayerLegendInfo object. A group layer returns only one item describing the group layer (the legends of the sublayers are not returned by this method)
Parameters
- callback
- The method to call on completion.
- errorCallback
- The method to call in the event of an error (cant' happen with a group layer).
Target Platforms:Windows Phone 7