Share via


EventHandlerList 成员

提供一个简单的委托列表。无法继承此类。

下表列出了由 EventHandlerList 类型公开的成员。

公共构造函数

  名称 说明
Public method Supported by the .NET Compact Framework EventHandlerList 初始化 EventHandlerList 类的新实例。

页首

公共属性

  名称 说明
Public property Supported by the .NET Compact Framework Item 获取或设置指定对象的委托。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Supported by the .NET Compact Framework AddHandler 将委托添加到列表。
Public method Supported by the .NET Compact Framework AddHandlers 向当前列表添加委托的列表。
Public method Supported by the .NET Compact Framework Dispose 处置委托列表。
Public method Supported by the .NET Compact Framework Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework RemoveHandler 从列表中将委托移除。
Public method Supported by the .NET Compact Framework ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Supported by the .NET Compact Framework Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method Supported by the .NET Compact Framework MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

请参见

参考

EventHandlerList 类
System.ComponentModel 命名空间