ControlDesigner.Tag 属性
定义
获取表示关联控件的 HTML 标记元素的对象。Gets an object representing the HTML markup element for the associated control.
protected:
property System::Web::UI::Design::IControlDesignerTag ^ Tag { System::Web::UI::Design::IControlDesignerTag ^ get(); };
protected System.Web.UI.Design.IControlDesignerTag Tag { get; }
member this.Tag : System.Web.UI.Design.IControlDesignerTag
Protected ReadOnly Property Tag As IControlDesignerTag
属性值
表示关联控件的 HTML 标记元素的 IControlDesignerTag 对象。An IControlDesignerTag object that represents the HTML markup element for the associated control.
注解
通常, Tag 属性只用于设计宿主和控件设计器之间的通信,而不由控件开发人员使用。Typically, the Tag property is used only for communication between the design host and the control designer and is not used by control developers.