DataBus.GetEvents メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DataBusコントロールによって宣言されたすべての公開イベントを取得します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetEvents() |
DataBus制御のイベントを返します。 |
| GetEvents(Attribute[]) |
DataBusコントロールのイベントディスクリプタのフィルタリングされたコレクションを返します。 |
GetEvents()
DataBus制御のイベントを返します。
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents();
public System.ComponentModel.EventDescriptorCollection GetEvents();
abstract member GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents () As EventDescriptorCollection
返品
DataBusコントロールのイベントを表す EventDescriptorCollection オブジェクトです。
実装
適用対象
GetEvents(Attribute[])
DataBusコントロールのイベントディスクリプタのフィルタリングされたコレクションを返します。
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents(cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents(Attribute[] attributes);
abstract member GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (attributes As Attribute()) As EventDescriptorCollection
パラメーター
- attributes
- Attribute[]
フィルターとして使われる属性の配列です。
返品
DataBusコントロールのイベント記述を含む EventDescriptorCollection オブジェクトです。