TimerArray 类

定义

注意

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

提供控件的 Timer 控件数组。

public ref class TimerArray : Microsoft::VisualBasic::Compatibility::VB6::BaseControlArray, System::ComponentModel::IExtenderProvider
public class TimerArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class TimerArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
type TimerArray = class
    inherit BaseControlArray
    interface IExtenderProvider
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type TimerArray = class
    inherit BaseControlArray
    interface IExtenderProvider
Public Class TimerArray
Inherits BaseControlArray
Implements IExtenderProvider
继承
属性
实现

注解

TimerArray 类为 Visual Basic 6.0 Timer 控件数组的运行时功能提供等效项。 它不提供 Visual Basic 6.0 控件数组的设计时功能。

注释

命名空间中的 Microsoft.VisualBasic.Compatibility.VB6 函数和对象由用于从 Visual Basic 6.0 升级到 Visual Basic 的工具使用。 在大多数情况下,这些函数和对象重复了可在 .NET Framework 中的其他命名空间中找到的功能。 仅当 Visual Basic 6.0 代码模型与 .NET Framework 实现明显不同时,它们才是必需的。

构造函数

名称 说明
TimerArray()
已过时.

初始化 TimerArray 类的新实例。

TimerArray(IContainer)
已过时.

初始化类的新实例 TimerArray ,并指定其容器。

字段

名称 说明
components
已过时.

存储控件数组的容器。

(继承自 BaseControlArray)
controlAddedAtDesignTime
已过时.

存储值,用于跟踪控件数组中的控件是在设计时还是运行时创建的。

(继承自 BaseControlArray)
controls
已过时.

存储表示控件数组中的控件的值。

(继承自 BaseControlArray)
fIsEndInitCalled
已过时.

存储一个值,该值指示控件数组容器的初始化代码是否已完成执行。

(继承自 BaseControlArray)
indices
已过时.

存储控件数组的索引。

(继承自 BaseControlArray)

属性

名称 说明
CanRaiseEvents
已过时.

获取一个值,该值指示组件是否可以引发事件。

(继承自 Component)
Container
已过时.

IContainer获取包含 .Component

(继承自 Component)
DesignMode
已过时.

获取一个值,该值指示当前是否 Component 处于设计模式。

(继承自 Component)
Events
已过时.

获取附加到此 Component对象的事件处理程序的列表。

(继承自 Component)
Item[Int16]
已过时.

获取按索引的特定元素 TimerArray 。 只读。

Site
已过时.

获取或设置 ISiteComponent

(继承自 Component)

方法

名称 说明
BaseCanExtend(Object)
已过时.

获取一个值,该值指示控件是否是控件数组的成员。

(继承自 BaseControlArray)
BaseGetIndex(Object)
已过时.

获取控件数组中控件的索引。

(继承自 BaseControlArray)
BaseGetItem(Int16)
已过时.

获取控件数组中指定索引的控件。

(继承自 BaseControlArray)
BaseResetIndex(Object)
已过时.

类中 BaseControlArray 不支持。

(继承自 BaseControlArray)
BaseSetIndex(Object, Int16, Boolean)
已过时.

设置控件数组中控件的索引。

(继承自 BaseControlArray)
BaseShouldSerializeIndex(Object)
已过时.

返回一个值,该值指示控件是否是控件数组的成员。

(继承自 BaseControlArray)
CanExtend(Object)
已过时.

获取一个值,该值确定控件是否是控件 TimerArray的成员。

Count()
已过时.

返回控件数组中的控件数。

(继承自 BaseControlArray)
CreateObjRef(Type)
已过时.

创建一个对象,其中包含生成用于与远程对象通信的代理所需的所有相关信息。

(继承自 MarshalByRefObject)
Dispose()
已过时.

释放该 Component命令使用的所有资源。

(继承自 Component)
Dispose(Boolean)
已过时.

释放控件数组中控件使用的非托管资源,并选择性地释放托管资源。

(继承自 BaseControlArray)
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetControlInstanceType()
已过时.

重写 GetControlInstanceType()

GetEnumerator()
已过时.

返回对枚举器对象的引用,该对象用于循环访问控件数组。

(继承自 BaseControlArray)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetIndex(Timer)
已过时.

获取 .. 中的TimerArray索引Timer

GetLifetimeService()
已过时.

检索控制此实例的生存期策略的当前生存期服务对象。

(继承自 MarshalByRefObject)
GetService(Type)
已过时.

返回一个对象,该对象表示服务由 Component 或其 Container提供的服务。

(继承自 Component)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
HookUpControlEvents(Object)
已过时.

重写 HookUpControlEvents(Object)

InitializeLifetimeService()
已过时.

获取生存期服务对象来控制此实例的生存期策略。

(继承自 MarshalByRefObject)
LBound()
已过时.

返回一个 Short 包含控件数组的最小可用下标。

(继承自 BaseControlArray)
Load(Int16)
已过时.

在控件数组中创建一个新元素。

(继承自 BaseControlArray)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
MemberwiseClone(Boolean)
已过时.

创建当前 MarshalByRefObject 对象的浅表副本。

(继承自 MarshalByRefObject)
ResetIndex(Timer)
已过时.

类不支持TimerArray该方法ResetIndex

SetIndex(Timer, Int16)
已过时.

设置初始项的TimerArray索引Timer

ShouldSerializeIndex(Timer)
已过时.

返回一个值,该值指示一个 Timer 是否是此 TimerArray成员。

ToString()
已过时.

返回包含 String 的名称 Component(如果有)。 不应重写此方法。

(继承自 Component)
UBound()
已过时.

返回一个 Short 包含控件数组的最大可用下标。

(继承自 BaseControlArray)
Unload(Int16)
已过时.

从控件数组中删除控件。

(继承自 BaseControlArray)

活动

名称 说明
Disposed
已过时.

当组件通过对方法的调用 Dispose() 释放时发生。

(继承自 Component)
Tick
已过时.

在指定的计时器间隔已过且启用计时器时发生。

显式接口实现

名称 说明
ISupportInitialize.BeginInit()
已过时.

开始初始化控件。

(继承自 BaseControlArray)
ISupportInitialize.EndInit()
已过时.

结束控件的初始化。

(继承自 BaseControlArray)

适用于