ControlBuilderAttribute(Type) 构造函数

定义

指定自定义控件的控件生成器。

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))]  

适用于