SPFieldGeolocationValue members

Represents the field value class for GeolocationField (geographical type for Point).

The SPFieldGeolocationValue type exposes the following members.

Constructors

  Name Description
Public method SPFieldGeolocationValue() Initializes a new instance of the SPFieldGeolocationValue class.
Public method SPFieldGeolocationValue(String) Initializes a new instance of the SPFieldGeolocationValue class based on the specified field value.
Public method SPFieldGeolocationValue(Double, Double) Initializes a new instance of the SPFieldGeolocationValue class with the latitude and longitude values.
Public method SPFieldGeolocationValue(Double, Double, Double, Double) Initializes a new instance of the SPFieldGeolocationValue class with the latitude, longitude, altitude, and measure values.

Top

Properties

  Name Description
Public property Altitude Gets or sets the altitude value for the Geolocation field.
Public property Latitude Gets or sets the latitude value for the Geolocation field.
Public property Longitude Gets or sets the longitude value for the Geolocation field.
Public property Measure Gets or sets the measure value for the Geolocation field.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the Geolocation value as Well-Known Text format. (Overrides Object.ToString().)

Top

See also

Reference

SPFieldGeolocationValue class

Microsoft.SharePoint namespace