AxHost.ICustomTypeDescriptor.GetEvents メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のオブジェクトのイベントを返します。
オーバーロード
ICustomTypeDescriptor.GetEvents() |
現在のオブジェクトのイベントを返します。 |
ICustomTypeDescriptor.GetEvents(Attribute[]) |
指定した属性配列をフィルターとして使用して、現在のオブジェクトのイベントを返します。 |
ICustomTypeDescriptor.GetEvents()
現在のオブジェクトのイベントを返します。
virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
戻り値
現在のオブジェクトのイベントを表す EventDescriptorCollection。
実装
注釈
このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、AxHost のインスタンスが ICustomTypeDescriptor インターフェイスにキャストされる場合のみ、使用できます。
適用対象
ICustomTypeDescriptor.GetEvents(Attribute[])
指定した属性配列をフィルターとして使用して、現在のオブジェクトのイベントを返します。
virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
パラメーター
戻り値
EventDescriptorCollection のイベントのうち、指定した一連の属性と一致するイベントを表す AxHost。