HtmlField.GetFieldValueAsText Method

Return string value with any reusable content sections expanded and all HTML tags stripped out.

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

Syntax

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

returnValue = instance.GetFieldValueAsText(value)
public override string GetFieldValueAsText(
    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, then the returned value retrieves these content sections with their current values expanded and all HTML tags stripped out.

See Also

Reference

HtmlField Class

HtmlField Members

Microsoft.SharePoint.Publishing.Fields Namespace

HtmlField