HtmlField.GetFieldValueAsHtml method (Object)

Gets the HTML string value with any reusable content sections expanded.

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

Syntax

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

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

Parameters

Return value

Type: System.String

Remarks

If the HTML in the value input has any special markup that identifies reusable content sections, the returned value retrieves these content sections with their current values expanded.

See also

Reference

HtmlField class

HtmlField members

GetFieldValueAsHtml overload

Microsoft.SharePoint.Publishing.Fields namespace

HtmlField