Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TagKey Property

WebControl.TagKey Property

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

[Visual Basic]
Protected Overridable ReadOnly Property TagKey As HtmlTextWriterTag
[C#]
protected virtual HtmlTextWriterTag TagKey {get;}
[C++]
protected: __property virtual HtmlTextWriterTag get_TagKey();
[JScript]
protected function get TagKey() : HtmlTextWriterTag;

Property Value

One of the System.Web.UI.HtmlTextWriterTag enumeration values.

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

WebControl Class | WebControl Members | System.Web.UI.WebControls Namespace | System.Web.UI.HtmlTextWriterTag

Show:
© 2015 Microsoft