Share via


SPFieldGeolocationValue constructor (Double, Double, Double, Double)

Initializes a new instance of the SPFieldGeolocationValue class with the latitude, longitude, altitude, and measure values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    latitude As Double, _
    longitude As Double, _
    altitude As Double, _
    measure As Double _
)
'Usage
Dim latitude As Double
Dim longitude As Double
Dim altitude As Double
Dim measure As Double

Dim instance As New SPFieldGeolocationValue(latitude, _
    longitude, altitude, measure)
public SPFieldGeolocationValue(
    double latitude,
    double longitude,
    double altitude,
    double measure
)

Parameters

  • longitude
    Type: System.Double

    The longitude value of the point.

  • altitude
    Type: System.Double

    The altitude value of the point (user defined).

See also

Reference

SPFieldGeolocationValue class

SPFieldGeolocationValue members

SPFieldGeolocationValue overload

Microsoft.SharePoint namespace