PictureBoxArray.GetControlInstanceType 方法

定义

protected:
 override Type ^ GetControlInstanceType();
protected override Type GetControlInstanceType ();
override this.GetControlInstanceType : unit -> Type
Protected Overrides Function GetControlInstanceType () As Type

返回

Type

PictureBoxArray 类是从 Visual Basic 6.0 升级的应用程序中所使用的所有控件数组的基类。The PictureBoxArray class is the base class for all control arrays that are used in applications upgraded from Visual Basic 6.0. 因为该类通常不用于创建类的实例,所以,通常不直接调用此 Protected 方法,而是通过派生类调用。Because this class is not typically used to create an instance of the class, this Protected method is usually not called directly but is instead called by a derived class.

注解

不能从应用程序的代码中调用此方法。This method cannot be called from your application's code. 请改用 GetType 方法。Use the GetType method instead.

备注

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 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

适用于