共用方式為


SPFieldMultiChoice.GetFieldValueAsText method

會以純文字傳回欄位值。

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

Syntax

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

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

參數

傳回值

Type: System.String
以純文字 ; 值例如,而 HTML。

備註

此方法會傳回以逗點和空格 (", ") 分隔的值。

請參閱

參照

SPFieldMultiChoice class

SPFieldMultiChoice members

Microsoft.SharePoint namespace