LoginStatus.TagKey 属性

定义

获取 LoginStatus 控件的 HtmlTextWriterTag 值。Gets the HtmlTextWriterTag value for the LoginStatus 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

属性值

HtmlTextWriterTag

始终返回 AAlways returns A.

注解

TagKey属性允许输出流为控件写入适当的 HTML 标记 LoginStatusThe TagKey property allows the output stream to write the appropriate HTML markup for the LoginStatus control. TagKey 属性主要由控件开发人员使用。The TagKey property is used primarily by control developers.

继承者说明

可以重写此属性,以指定 HtmlTextWriterTag 要用于派生控件的值。You can override this property to specify which HtmlTextWriterTag value to use for your derived control.

适用于