ControlBuilderAttribute(Type) 构造函数
定义
为自定义控件指定控件生成器。Specifies the control builder for a custom control.
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
控件生成器的类型The control builder type
注解
使用自定义控件的控件生成器类型的关联通过使用以下特性定义在自定义控件生成器类之前获得:The association of the control builder type with a custom control is obtained by preceding the custom control builder class with the following attribute definition:
[ControlBuilderAttribute(typeof(controlbuildertype))]