Html32TextWriter.OnTagRender(String, HtmlTextWriterTag) Método

Definição

Determina se é necessário gravar o elemento HTML especificado no fluxo de saída.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

Parâmetros

name
String

O elemento HTML a gravar no fluxo de saída.The HTML element to write to the output stream.

key
HtmlTextWriterTag

O valor da enumeração HtmlTextWriterTag associado ao elemento HTML.The HtmlTextWriterTag enumeration value associated with the HTML element.

Retornos

Boolean

true se o elemento HTML é gravado no fluxo de saída; caso contrário, false.true if the HTML element is written to the output stream; otherwise, false.

Comentários

Se a ShouldPerformDivTableSubstitution propriedade for true , o OnTagRender método substituirá todos os div elementos que são renderizados por um controle com table elementos.If the ShouldPerformDivTableSubstitution property is true, the OnTagRender method replaces any div elements that are rendered by a control with table elements.

Aplica-se a