SPFieldUser.RenderFieldValueAsJson method
Returns the specified value in JSON format.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function RenderFieldValueAsJson ( _
value As Object _
) As String
'Usage
Dim instance As SPFieldUser
Dim value As Object
Dim returnValue As String
returnValue = instance.RenderFieldValueAsJson(value)
public override string RenderFieldValueAsJson(
Object value
)
Parameters
value
Type: System.ObjectThe value that is converted to JSON.
Return value
Type: System.String
The value that has been converted to JSON.
Remarks
This override returns the user, or users, data as a JSON-formatted string.