RichTextField.RenderHtmlForDisplay method

Renders the stored data and presents it in the final, readable HTML form for users.

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

Syntax

'Declaration
Protected Sub RenderHtmlForDisplay ( _
    output As HtmlTextWriter, _
    html As String _
)
'Usage
Dim output As HtmlTextWriter
Dim html As String

Me.RenderHtmlForDisplay(output, html)
protected void RenderHtmlForDisplay(
    HtmlTextWriter output,
    string html
)

Parameters

  • html
    Type: System.String

    The string to write to the output stream.

Exceptions

Exception Condition
ArgumentNullException

Thrown when output is a null reference (Nothing in Visual Basic).

See also

Reference

RichTextField class

RichTextField members

Microsoft.SharePoint.WebControls namespace