Share via


HtmlField.GetFieldValueAsHtml Method (Object)

Return 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