System.Web.UI.HtmlTextWriter.RenderBeforeContent Method

Writes any text or spacing before the content and after the opening tag of a markup element.

Syntax

protected virtual string RenderBeforeContent ()

Returns

The text or spacing to write prior to the content of the element. If not overridden, HtmlTextWriter.RenderBeforeContent returns null.

Remarks

The HtmlTextWriter.RenderBeforeContent method can be useful if you want to insert child elements into the current markup element before the inner markup.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0