Share via


SPFieldGeolocation.ValidateAndParseValue method

Validates the potential field value and returns a parsed object.

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

Syntax

'Declaration
Public Overrides Function ValidateAndParseValue ( _
    item As SPListItem, _
    value As String _
) As Object
'Usage
Dim instance As SPFieldGeolocation
Dim item As SPListItem
Dim value As String
Dim returnValue As Object

returnValue = instance.ValidateAndParseValue(item, _
    value)
public override Object ValidateAndParseValue(
    SPListItem item,
    string value
)

Parameters

Return value

Type: System.Object
A parsed field value for the Geolocation field.

Exceptions

Exception Condition
ArgumentNullException

Thrown when the item parameter is a null reference (Nothing in Visual Basic).

See also

Reference

SPFieldGeolocation class

SPFieldGeolocation members

Microsoft.SharePoint namespace