WebBrowserArray 建構函式

定義

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

多載

WebBrowserArray()

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

WebBrowserArray(IContainer)

初始化 WebBrowserArray 類別的新執行個體,並指定其容器。Initializes a new instance of the WebBrowserArray class, specifying its container.

WebBrowserArray()

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

public:
 WebBrowserArray();
public WebBrowserArray ();
Public Sub New ()

備註

當您具現化 WebBrowserArray 時,您也必須呼叫 SetIndex 方法,以在陣列中建立初始元素。When you instantiate a WebBrowserArray, you must also call the SetIndex method to create the initial element in the array.

注意

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.

WebBrowserArray(IContainer)

初始化 WebBrowserArray 類別的新執行個體,並指定其容器。Initializes a new instance of the WebBrowserArray class, specifying its container.

public:
 WebBrowserArray(System::ComponentModel::IContainer ^ Container);
public WebBrowserArray (System.ComponentModel.IContainer Container);
new Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray : System.ComponentModel.IContainer -> Microsoft.VisualBasic.Compatibility.VB6.WebBrowserArray
Public Sub New (Container As IContainer)

參數

Container
IContainer

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

備註

當您具現化 WebBrowserArray 時,您也必須呼叫 SetIndex 方法,以在陣列中建立初始元素。When you instantiate a WebBrowserArray, you must also call the SetIndex method to create the initial element in the array.

注意

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.

適用於