ComEventInterfaceAttribute(Type, Type) コンストラクター

定義

ソース インターフェイスとイベント プロバイダー クラスを使用して、 ComEventInterfaceAttribute クラスの新しいインスタンスを初期化します。

public:
 ComEventInterfaceAttribute(Type ^ SourceInterface, Type ^ EventProvider);
public ComEventInterfaceAttribute(Type SourceInterface, Type EventProvider);
new System.Runtime.InteropServices.ComEventInterfaceAttribute : Type * Type -> System.Runtime.InteropServices.ComEventInterfaceAttribute
Public Sub New (SourceInterface As Type, EventProvider As Type)

パラメーター

SourceInterface
Type

タイプ ライブラリの元のソース インターフェイスを含む Type 。 COM では、このインターフェイスを使用してマネージド クラスにコールバックします。

EventProvider
Type

イベント インターフェイスのメソッドを実装するクラスを含む Type

適用対象