BingExtensionsRemoveBingLayer Method |
Extension method which removes a Microsoft Bing layer from the map.
Namespace:
Ptv.XServer.Controls.Map.TileProviders
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static void RemoveBingLayer(
this WpfMap wpfMap,
string name
)
<ExtensionAttribute>
Public Shared Sub RemoveBingLayer (
wpfMap As WpfMap,
name As String
)
public:
[ExtensionAttribute]
static void RemoveBingLayer(
WpfMap^ wpfMap,
String^ name
)
[<ExtensionAttribute>]
static member RemoveBingLayer :
wpfMap : WpfMap *
name : string -> unit
Parameters
- wpfMap
- Type: Ptv.XServer.Controls.MapWpfMap
The map to remove the layer from. - name
- Type: SystemString
The name of the layer to be removed.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WpfMap. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also