WebPartMenuStyle.ICustomTypeDescriptor.GetEvents 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回元件這個實例的事件。 此方法實作了過載 GetEvents 方法。
多載
| 名稱 | Description |
|---|---|
| ICustomTypeDescriptor.GetEvents() |
傳回元件這個實例的事件。 此方法實 GetEvents() 作方法過載。 |
| ICustomTypeDescriptor.GetEvents(Attribute[]) |
使用指定的屬性陣組做為篩選,傳回元件之這個實例的事件。 此方法實 GetEvents(Attribute[]) 作方法過載。 |
ICustomTypeDescriptor.GetEvents()
傳回元件這個實例的事件。 此方法實 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 該物件的事件。
實作
備註
此成員為明確介面成員實作。 它只能在實 WebPartMenuStyle 例投射到 ICustomTypeDescriptor 介面時使用。
另請參閱
適用於
ICustomTypeDescriptor.GetEvents(Attribute[])
使用指定的屬性陣組做為篩選,傳回元件之這個實例的事件。 此方法實 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 該物件的過濾事件。