Share via


SPFieldUser.GetFieldValueAsHtml method

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

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

Syntax

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

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

Parameters

  • value
    Type: System.Object

    An object that represents the value object to convert.

Return value

Type: System.String
A string that contains the converted value object in HTML format.

See also

Reference

SPFieldUser class

SPFieldUser members

Microsoft.SharePoint namespace