SPFieldUrl.GetValidatedString Method

Converts the field value object into a validated serialized string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function GetValidatedString ( _
    value As Object _
) As String
'Usage
Dim instance As SPFieldUrl
Dim value As Object
Dim returnValue As String

returnValue = instance.GetValidatedString(value)
public override string GetValidatedString(
    Object value
)

Parameters

  • value
    Type: System.Object

    An object that represents the value object to convert.

Return Value

Type: System.String
A string that serializes the value object.

Remarks

Use the GetValidatedString method for data serialization logic and for field validation logic that is specific to a custom field type.

See Also

Reference

SPFieldUrl Class

SPFieldUrl Members

Microsoft.SharePoint Namespace