BaseControlArray 建構函式

定義

初始化 BaseControlArray 類別的新執行個體。Initializes a new instance of the BaseControlArray class.

多載

BaseControlArray()

初始化 BaseControlArray 類別的新執行個體。Initializes a new instance of the BaseControlArray class.

BaseControlArray(IContainer)

初始化 BaseControlArray 類別的新執行個體,並選擇性指定容器。Initializes a new instance of the BaseControlArray class, optionally specifying a container.

BaseControlArray()

初始化 BaseControlArray 類別的新執行個體。Initializes a new instance of the BaseControlArray class.

protected:
 BaseControlArray();
protected BaseControlArray ();
Protected Sub New ()

備註

BaseControlArray 類別是從 Visual Basic 6.0 升級之應用程式中所使用之所有控制項陣列的基類。The BaseControlArray class is the base class for all control arrays used in applications upgraded from Visual Basic 6.0. 因為此類別通常不會用來建立類別的實例,所以通常不會直接呼叫此函式,而是由衍生類別呼叫。Because this class is not typically used to create an instance of the class, this constructor is typically not called directly but is instead called by a derived class.

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 在大多數情況下,這些函式和物件會複製在 .NET Framework.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

BaseControlArray(IContainer)

初始化 BaseControlArray 類別的新執行個體,並選擇性指定容器。Initializes a new instance of the BaseControlArray class, optionally specifying a container.

protected:
 BaseControlArray(System::ComponentModel::IContainer ^ Container);
protected BaseControlArray (System.ComponentModel.IContainer Container);
new Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray : System.ComponentModel.IContainer -> Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray
Protected Sub New (Container As IContainer)

參數

Container
IContainer

IContainer,其中將會裝載控制項陣列。The IContainer where the control array will be hosted.

備註

對升級自 Visual Basic 6.0 之應用程式中使用的所有控制項陣列而言,BaseControlArray 是基底類別。The BaseControlArray class is the base class for all control arrays that are used in applications upgraded from Visual Basic 6.0. 因為這個類別通常不會用來建立類別的實例,所以通常不會直接呼叫此函式,而是由衍生類別呼叫。Because this class is not typically used to create an instance of the class, this constructor is usually not called directly but is instead called by a derived class.

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 在大多數情況下,這些函式和物件會複製在 .NET Framework.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

適用於