共用方式為


SPFieldCalculated.GetFieldValueAsHtml Method

Returns the field value in HTML format in order to render the field value directly on the page.

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

Syntax

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

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

Parameters

Return Value

Type: System.String
A string that contains the value to HTML format.

See Also

Reference

SPFieldCalculated Class

SPFieldCalculated Members

Microsoft.SharePoint Namespace