共用方式為


SPFieldUser.GetFieldValueAsHtml method

為了要能夠呈現直接在網頁上的值,以 HTML 格式傳回欄位值。

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

Syntax

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

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

參數

  • value
    Type: System.Object

    object ,表示要轉換的值物件。

傳回值

Type: System.String
字串,包含已轉換的值物件,以 HTML 格式。

請參閱

參照

SPFieldUser class

SPFieldUser members

Microsoft.SharePoint namespace