Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.ObjectAn object that represents the value to convert.
item
Type: Microsoft.SharePoint.SPListItemAn SPListItem object that represents the list item that contains the value.
Return Value
Type: System.String
A string that contains the converted value object in HTML format.