次の方法で共有


SPField.RenderFieldValueAsJson method

When overridden in a derived class, returns the specified value in JSON format.

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

Syntax

'Declaration
Public Overridable Function RenderFieldValueAsJson ( _
    value As Object _
) As String
'Usage
Dim instance As SPField
Dim value As Object
Dim returnValue As String

returnValue = instance.RenderFieldValueAsJson(value)
public virtual string RenderFieldValueAsJson(
    Object value
)

Parameters

Return value

Type: System.String
The value that has been converted to JSON.

Remarks

The default implementation returns a null reference (Nothing in Visual Basic).

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace