MapLayer.GetPosition Method (DependencyObject)
Retrieves the map layer’s position.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static Location GetPosition(
DependencyObject dependencyObject
)
public:
static Location^ GetPosition(
DependencyObject^ dependencyObject
)
static member GetPosition :
dependencyObject:DependencyObject -> Location
Public Shared Function GetPosition (
dependencyObject As DependencyObject
) As Location
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency field.
Return Value
Type: Microsoft.Maps.MapControl.WPF.Location
Returns Location.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top