MapBase.Center Property

This documentation is no longer available on MSDN, however it is available as a CHM download.

When overridden in a derived class, gets the center location of the map view.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
<ScriptableMemberAttribute> _
Public Property Center As Location
[ScriptableMemberAttribute] 
public Location Center { get; set; }
[ScriptableMemberAttribute] 
public:
property Location^ Center {
    Location^ get ();
    void set (Location^ value);
}
/** @property */
public Location get_Center ()

/** @property */
public void set_Center (Location value)
public function get Center () : Location

public function set Center (value : Location)

Property Value

Returns Location.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

MapBase Class
MapBase Members
Microsoft.Maps.MapControl.Core Namespace