WebControl.TagKey 属性

定义

获取对应于此 Web 服务器控件的 HtmlTextWriterTag 值。Gets the HtmlTextWriterTag value that corresponds to this Web server control. 此属性主要由控件开发人员使用。This property is used primarily by control developers.

protected:
 virtual property System::Web::UI::HtmlTextWriterTag TagKey { System::Web::UI::HtmlTextWriterTag get(); };
[System.ComponentModel.Browsable(false)]
protected virtual System.Web.UI.HtmlTextWriterTag TagKey { get; }
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overridable ReadOnly Property TagKey As HtmlTextWriterTag

属性值

HtmlTextWriterTag

HtmlTextWriterTag 枚举值之一。One of the HtmlTextWriterTag enumeration values.

属性

注解

使用 TagKey 属性可确定与此 Web 服务器控件关联的 HtmlTextWriterTag 值。Use the TagKey property to determine the HtmlTextWriterTag value that is associated with this Web server control. 此属性主要由控件开发人员使用。This property is used primarily by control developers.

适用于

另请参阅