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; }
[<System.ComponentModel.Browsable(false)>]
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overridable ReadOnly Property TagKey As HtmlTextWriterTag

屬性值

HtmlTextWriterTag

其中一個 HtmlTextWriterTag 列舉值。One of the HtmlTextWriterTag enumeration values.

屬性

備註

TagKey 可以使用屬性來判斷 HtmlTextWriterTag 與此 Web 服務器控制項相關聯的值。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.

適用於

另請參閱