Ler em inglês Editar

Compartilhar via


Html32TextWriter.GetTagName(HtmlTextWriterTag) Method

Definition

Returns the HTML element that is associated with the specified HtmlTextWriterTag enumeration value.

protected override string GetTagName(System.Web.UI.HtmlTextWriterTag tagKey);

Parameters

tagKey
HtmlTextWriterTag

The HtmlTextWriterTag enumeration value to obtain the HTML element for.

Returns

The HTML element.

Remarks

If the HtmlTextWriterTag.Div field is passed in tagKey and the ShouldPerformDivTableSubstitution property is true, the GetTagName method returns the table element.

Applies to

Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1