AxHost.ICustomTypeDescriptor.GetEvents 方法

定義

傳回目前物件的事件。Returns events for the current object.

多載

ICustomTypeDescriptor.GetEvents()

傳回目前物件的事件。Returns the events for the current object.

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的屬性陣列做為篩選條件,傳回目前物件的事件。Returns the events for the current object using the specified attribute array as a filter.

ICustomTypeDescriptor.GetEvents()

傳回目前物件的事件。Returns the events for the current object.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

傳回

EventDescriptorCollection,表示目前物件的事件。An EventDescriptorCollection that represents the events for the current object.

實作

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的屬性陣列做為篩選條件,傳回目前物件的事件。Returns the events for the current object using the specified attribute array as a filter.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

參數

attributes
Attribute[]

Attribute 類型陣列,可當做篩選條件使用。An array of type Attribute that is used as a filter.

傳回

EventDescriptorCollection,表示 AxHost 的事件符合指定的屬性集。An EventDescriptorCollection that represents the events for the AxHost that match the given set of attributes.

實作

適用於