Share via


Location.Latitude Property

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

Gets or sets the latitude of the location.

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

Usage

Syntax

'Declaration
<DataMemberAttribute> _
Public Property Latitude As Double
[DataMemberAttribute] 
public double Latitude { get; set; }
[DataMemberAttribute] 
public:
property double Latitude {
    double get ();
    void set (double value);
}
/** @property */
public double get_Latitude ()

/** @property */
public void set_Latitude (double value)
public function get Latitude () : double

public function set Latitude (value : double)

Property Value

Returns Double.

Remarks

If the specified values of Latitude and Longitude are not within the range of valid values for these properties, they are converted to valid values. The range of valid values for Latitude is -90 to 90. The range of valid values for Longitude is -180 to 180.

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

Location Class
Location Members
Microsoft.Maps.MapControl Namespace