次の方法で共有


SPFieldMultiChoice.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 SPFieldMultiChoice
Dim value As Object
Dim returnValue As String

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

Parameters

Return value

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

Remarks

This override returns all the choices as a bracketed, comma-delimited string, with the individual choices wrapped in quotation marks; for example, ["Chicago","Milan","Tokyo"].

See also

Reference

SPFieldMultiChoice class

SPFieldMultiChoice members

Microsoft.SharePoint namespace