Label.TagKey Label.TagKey Label.TagKey Label.TagKey Property

定义

获取用于呈现 Label 控件的 HTML 标记。Gets the HTML tag that is used to render the Label control.

protected:
 virtual property System::Web::UI::HtmlTextWriterTag TagKey { System::Web::UI::HtmlTextWriterTag get(); };
protected override System.Web.UI.HtmlTextWriterTag TagKey { get; }
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overrides ReadOnly Property TagKey As HtmlTextWriterTag

属性值

注解

使用属性可确定与Label控件HtmlTextWriterTag相关联的值。 TagKeyUse the TagKey property to determine the HtmlTextWriterTag value that is associated with a Label control. TagKey属性主要由控件开发人员使用。The TagKey property is used primarily by control developers.

适用于