Share via


SPFieldGeolocationValue constructor (Double, Double)

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

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

Syntax

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

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

Parameters

  • longitude
    Type: System.Double

    The longitude value of the point.

See also

Reference

SPFieldGeolocationValue class

SPFieldGeolocationValue members

SPFieldGeolocationValue overload

Microsoft.SharePoint namespace