Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.