共用方式為


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 物件的事件引動過程清單移除委派。

適用於