Gets the HtmlTextWriterTag value that corresponds to this Web server control. This property is used primarily by control developers.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Syntax
[BrowsableAttribute(false)]
protected virtual HtmlTextWriterTag TagKey { get; }
protected:
[BrowsableAttribute(false)]
property HtmlTextWriterTag TagKey {
	virtual HtmlTextWriterTag get();
}
[<BrowsableAttribute(false)>]
abstract TagKey : HtmlTextWriterTag with get
[<BrowsableAttribute(false)>]
override TagKey : HtmlTextWriterTag with get
<BrowsableAttribute(False)>
Protected Overridable ReadOnly Property TagKey As HtmlTextWriterTag

Property Value

Type:

One of the HtmlTextWriterTag enumeration values.

Remarks

Use the property to determine the HtmlTextWriterTag value that is associated with this Web server control. This property is used primarily by control developers.

Version Information
.NET Framework
Available since 1.1
Return to top