共用方式為


SPFieldChoice.RenderFieldValueAsJson method

以 JSON 格式傳回指定的value 。

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

Syntax

'宣告
Public Overrides Function RenderFieldValueAsJson ( _
    value As Object _
) As String
'用途
Dim instance As SPFieldChoice
Dim value As Object
Dim returnValue As String

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

參數

傳回值

Type: System.String
value已轉換為 JSON。

備註

這個覆寫會傳回a null reference (Nothing in Visual Basic)。

請參閱

參照

SPFieldChoice class

SPFieldChoice members

Microsoft.SharePoint namespace