Share via


Html32TextWriter.OnStyleAttributeRender Método

Definição

Determina se é necessário gravar o atributo de estilo HTML especificado e o respectivo valor no fluxo de saída.

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

Parâmetros

name
String

O atributo de estilo HTML a gravar no fluxo de saída.

value
String

O valor associado ao atributo de estilo HTML.

key
HtmlTextWriterStyle

O valor da enumeração HtmlTextWriterStyle associado ao atributo de estilo HTML.

Retornos

Boolean

true se o atributo de estilo HTML e seu valor serão renderizados no fluxo de saída; caso contrário, false.

Comentários

O OnStyleAttributeRender método dá suporte a um número menor de atributos de estilo HTML do que o OnStyleAttributeRender método que ele substitui.

Aplica-se a