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

適用於