Visual Basic (Declaration) | |
---|---|
Public Overrides Sub QueryLegendInfos( _ ByVal callback As Action(Of LayerLegendInfo), _ ByVal errorCallback As Action(Of Exception) _ ) |
C# | |
---|---|
public override void QueryLegendInfos( Action<LayerLegendInfo> callback, Action<Exception> errorCallback ) |
The returned result is encapsulated in a LayerLegendInfo object. This object contains a collection of legenditems.
Parameters
- callback
- The method to call on completion.
- errorCallback
- The method to call in the event of an error.
Target Platforms:Windows Phone 7