SPFieldMultiLineText.GetFieldValueAsHtml method (Object, SPListItem)

Returns the field value in HTML format in order to render the value directly on the page based on the specified object and list item.

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

Syntax

'Declaration
Public Function GetFieldValueAsHtml ( _
    value As Object, _
    item As SPListItem _
) As String
'Usage
Dim instance As SPFieldMultiLineText
Dim value As Object
Dim item As SPListItem
Dim returnValue As String

returnValue = instance.GetFieldValueAsHtml(value, _
    item)
public string GetFieldValueAsHtml(
    Object value,
    SPListItem item
)

Parameters

  • value
    Type: System.Object

    An object that represents the value to convert.

Return value

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

See also

Reference

SPFieldMultiLineText class

SPFieldMultiLineText members

GetFieldValueAsHtml overload

Microsoft.SharePoint namespace