共用方式為


SPFieldBoolean.GetFieldValueAsText Method (Object)

Gets 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 SPFieldBoolean
Dim value As Object
Dim returnValue As String

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

Parameters

  • value
    Type: System.Object

    An object that represents the value to convert.

Return Value

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

See Also

Reference

SPFieldBoolean Class

SPFieldBoolean Members

GetFieldValueAsText Overload

Microsoft.SharePoint Namespace