Share via


Address.Longitude Property

Definition

Returns the longitude of the address if known. -or- Sets the longitude associated with this address.

public virtual double Longitude { [Android.Runtime.Register("getLongitude", "()D", "GetGetLongitudeHandler")] get; [Android.Runtime.Register("setLongitude", "(D)V", "GetSetLongitude_DHandler")] set; }
[<get: Android.Runtime.Register("getLongitude", "()D", "GetGetLongitudeHandler")>]
[<set: Android.Runtime.Register("setLongitude", "(D)V", "GetSetLongitude_DHandler")>]
member this.Longitude : double with get, set

Property Value

Attributes

Exceptions

if this Address has not been assigned a longitude.

Remarks

Property getter documentation:

Returns the longitude of the address if known.

Java documentation for android.location.Address.getLongitude().

Property setter documentation:

Sets the longitude associated with this address.

Java documentation for android.location.Address.setLongitude(double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to