共用方式為


SPFieldNumber.GetFieldValueAsText Method (Object)

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 SPFieldNumber
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
A string that contains the value as plain text, for example, without HTML.

See Also

Reference

SPFieldNumber Class

SPFieldNumber Members

GetFieldValueAsText Overload

Microsoft.SharePoint Namespace