IComNativeDescriptorHandler.GetEvents メソッド

定義

指定したコンポーネントのイベントを取得します。

オーバーロード

名前 説明
GetEvents(Object)

指定したコンポーネントのイベントを取得します。

GetEvents(Object, Attribute[])

指定したコンポーネントの指定した属性を持つイベントを取得します。

GetEvents(Object)

指定したコンポーネントのイベントを取得します。

public:
 System::ComponentModel::EventDescriptorCollection ^ GetEvents(System::Object ^ component);
public System.ComponentModel.EventDescriptorCollection GetEvents(object component);
abstract member GetEvents : obj -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (component As Object) As EventDescriptorCollection

パラメーター

component
Object

イベントを取得する対象のコンポーネント。

返品

componentのイベント記述子のコレクション。

注釈

Note

この API は廃止されました。 廃止されていない代替手段は ComObjectType

適用対象

GetEvents(Object, Attribute[])

指定したコンポーネントの指定した属性を持つイベントを取得します。

public:
 System::ComponentModel::EventDescriptorCollection ^ GetEvents(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
abstract member GetEvents : obj * Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (component As Object, attributes As Attribute()) As EventDescriptorCollection

パラメーター

component
Object

イベントを取得する対象のコンポーネント。

attributes
Attribute[]

イベントのフィルター処理に使用される属性。

返品

componentのイベント記述子のコレクション。

注釈

Note

この API は廃止されました。 廃止されていない代替手段は ComObjectType

適用対象