ComEventsHelper 类

定义

注意

ComEventsHelper may be unavailable in future releases.

提供允许 .NET 委托的方法,这些委托处理将从 COM 对象添加和删除的事件。

public ref class ComEventsHelper abstract sealed
[System.Obsolete("ComEventsHelper may be unavailable in future releases.")]
public static class ComEventsHelper
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static class ComEventsHelper
public static class ComEventsHelper
[<System.Obsolete("ComEventsHelper may be unavailable in future releases.")>]
type ComEventsHelper = class
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
type ComEventsHelper = class
type ComEventsHelper = class
Public Class ComEventsHelper
继承
ComEventsHelper
属性

方法

Combine(Object, Guid, Int32, Delegate)
已过时.

将委托添加到源自 COM 对象的事件的调用列表。

Remove(Object, Guid, Int32, Delegate)
已过时.

从源自 COM 对象的事件的调用列表中移除委托。

适用于