ControlBuilderAttribute(Type) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定自定义控件的控件生成器。
public:
ControlBuilderAttribute(Type ^ builderType);
public ControlBuilderAttribute(Type builderType);
new System.Web.UI.ControlBuilderAttribute : Type -> System.Web.UI.ControlBuilderAttribute
Public Sub New (builderType As Type)
参数
- builderType
- Type
控件生成器类型。
注解
在自定义控件生成器类前面使用以下属性定义获取控件生成器类型与自定义控件的关联:
[ControlBuilderAttribute(typeof(controlbuildertype))]