RichTextField.RenderHtmlForInput method

Renders the HTML markup that may contain Web part markup so that the HTML can be used inside a content editable HTML element.

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

Syntax

protected void RenderHtmlForInput(
    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