Editar

Compartir a través de


Html32TextWriter.OnTagRender(String, HtmlTextWriterTag) Method

Definition

Determines whether to write the specified HTML element to the output stream.

protected:
 override bool OnTagRender(System::String ^ name, System::Web::UI::HtmlTextWriterTag key);
protected override bool OnTagRender (string name, System.Web.UI.HtmlTextWriterTag key);
override this.OnTagRender : string * System.Web.UI.HtmlTextWriterTag -> bool
Protected Overrides Function OnTagRender (name As String, key As HtmlTextWriterTag) As Boolean

Parameters

name
String

The HTML element to write to the output stream.

key
HtmlTextWriterTag

The HtmlTextWriterTag enumeration value associated with the HTML element.

Returns

true if the HTML element is written to the output stream; otherwise, false.

Remarks

If the ShouldPerformDivTableSubstitution property is true, the OnTagRender method replaces any div elements that are rendered by a control with table elements.

Applies to