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

適用於