Condividi tramite


SPFieldMultiChoice.GetFieldValueAsText Method

Returns the field value as plain text.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overrides Function GetFieldValueAsText ( _
    value As Object _
) As String
'Usage
Dim instance As SPFieldMultiChoice
Dim value As Object
Dim returnValue As String

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

Parameters

Return Value

Type: System.String
The value as plain text; for example, without HTML.

Remarks

This method returns the values separated by a comma and a space (“, ”).

See Also

Reference

SPFieldMultiChoice Class

SPFieldMultiChoice Members

Microsoft.SharePoint Namespace