BaseControlArray 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
实现从 Visual Basic 6.0 升级的应用程序中控件数组的通用基本功能。
public ref class BaseControlArray abstract : System::ComponentModel::Component, System::ComponentModel::ISupportInitializepublic abstract class BaseControlArray : System.ComponentModel.Component, System.ComponentModel.ISupportInitialize[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public abstract class BaseControlArray : System.ComponentModel.Component, System.ComponentModel.ISupportInitializetype BaseControlArray = class
    inherit Component
    interface ISupportInitialize[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type BaseControlArray = class
    inherit Component
    interface ISupportInitializePublic MustInherit Class BaseControlArray
Inherits Component
Implements ISupportInitialize- 继承
- 派生
- 属性
- 实现
注解
通常不会继承自 BaseControlArray。 若要创建自己的控件数组,请继承自命名空间中的 Microsoft.VisualBasic.Compatibility.VB6 一个控件数组类。
注意
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。
构造函数
| BaseControlArray() | 
				已过时.
			 初始化 BaseControlArray 类的新实例。 | 
| BaseControlArray(IContainer) | 
				已过时.
			 初始化 BaseControlArray 类的新实例,并且可以选择指定一个容器。 | 
字段
| components | 
				已过时.
			 存储控件数组的容器。 | 
| controlAddedAtDesignTime | 
				已过时.
			 存储值以跟踪是在设计时还是在运行时创建控件数组中的控件。 | 
| controls | 
				已过时.
			 存储表示控件数组中的控件的值。 | 
| fIsEndInitCalled | 
				已过时.
			 存储一个值,该值指示控件数组容器的初始化代码是否已经执行完毕。 | 
| indices | 
				已过时.
			 存储控件数组的索引。 | 
属性
| CanRaiseEvents | 
		已过时.
	 获取一个指示组件是否可以引发事件的值。(继承自 Component) | 
| Container | 
		已过时.
	 获取包含 IContainer 的 Component。(继承自 Component) | 
| DesignMode | 
		已过时.
	 获取一个值,用以指示 Component 当前是否处于设计模式。(继承自 Component) | 
| Events | 
		已过时.
	 获取附加到此 Component 的事件处理程序的列表。(继承自 Component) | 
| Site | 
		已过时.
	(继承自 Component) | 
方法
| BaseCanExtend(Object) | 
				已过时.
			 获取一个值,该值指示控件是否为控件数组的成员。 | 
| BaseGetIndex(Object) | 
				已过时.
			 获取控件数组中控件的索引。 | 
| BaseGetItem(Int16) | 
				已过时.
			 获取控件数组中指定索引的控件。 | 
| BaseResetIndex(Object) | 
				已过时.
			 在 BaseControlArray 类中不受支持。 | 
| BaseSetIndex(Object, Int16, Boolean) | 
				已过时.
			 设置控件数组中控件的索引。 | 
| BaseShouldSerializeIndex(Object) | 
				已过时.
			 返回一个值,该值指示控件是否为控件数组的成员。 | 
| Count() | 
				已过时.
			 返回控件数组中的控件数。 | 
| CreateObjRef(Type) | 
		已过时.
	 创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。(继承自 MarshalByRefObject) | 
| Dispose() | 
		已过时.
	 释放由 Component 使用的所有资源。(继承自 Component) | 
| Dispose(Boolean) | 
				已过时.
			 释放控件数组中控件使用的非托管资源,还可以选择释放托管资源。 | 
| Equals(Object) | 
		已过时.
	 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetControlInstanceType() | 
				已过时.
			 返回控件数组中控件的类型。 | 
| GetEnumerator() | 
				已过时.
			 返回一个对枚举数对象的引用,该对象用于循环访问控件数组。 | 
| GetHashCode() | 
		已过时.
	 作为默认哈希函数。(继承自 Object) | 
| GetLifetimeService() | 
		已过时.
	 检索控制此实例的生存期策略的当前生存期服务对象。(继承自 MarshalByRefObject) | 
| GetService(Type) | 
		已过时.
	 返回一个对象,该对象表示由 Component 或它的 Container 提供的服务。(继承自 Component) | 
| GetType() | 
		已过时.
	 获取当前实例的 Type。(继承自 Object) | 
| HookUpControlEvents(Object) | 
				已过时.
			 为控件数组中的控件添加事件处理程序。 | 
| InitializeLifetimeService() | 
		已过时.
	 获取生存期服务对象来控制此实例的生存期策略。(继承自 MarshalByRefObject) | 
| LBound() | 
				已过时.
			 返回的  | 
| Load(Int16) | 
				已过时.
			 创建控件数组中的新元素。 | 
| MemberwiseClone() | 
		已过时.
	 创建当前 Object 的浅表副本。(继承自 Object) | 
| MemberwiseClone(Boolean) | 
		已过时.
	 创建当前 MarshalByRefObject 对象的浅表副本。(继承自 MarshalByRefObject) | 
| ToString() | 
		已过时.
	 返回包含 Component 的名称的 String(如果有)。 不应重写此方法。(继承自 Component) | 
| UBound() | 
				已过时.
			 返回的  | 
| Unload(Int16) | 
				已过时.
			 从控件数组中移除控件。 | 
事件
| Disposed | 
		已过时.
	 在通过调用 Dispose() 方法释放组件时发生。(继承自 Component) | 
显式接口实现
| ISupportInitialize.BeginInit() | 
				已过时.
			 开始控件的初始化。 | 
| ISupportInitialize.EndInit() | 
				已过时.
			 结束控件的初始化。 |