WebPartMenuStyle.ICustomTypeDescriptor.GetEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the events for this instance of a component. This method implements the overloaded GetEvents method.
Overloads
ICustomTypeDescriptor.GetEvents() |
Returns the events for this instance of a component. This method implements the GetEvents() method overload. |
ICustomTypeDescriptor.GetEvents(Attribute[]) |
Returns the events for this instance of a component using the specified attribute array as a filter. This method implements the GetEvents(Attribute[]) method overload. |
ICustomTypeDescriptor.GetEvents()
Returns the events for this instance of a component. This method implements the GetEvents() method overload.
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
Returns
An EventDescriptorCollection that represents the events for this object.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the WebPartMenuStyle instance is cast to an ICustomTypeDescriptor interface.
See also
Applies to
ICustomTypeDescriptor.GetEvents(Attribute[])
Returns the events for this instance of a component using the specified attribute array as a filter. This method implements the GetEvents(Attribute[]) method overload.
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
Parameters
Returns
An EventDescriptorCollection that represents the filtered events for this object.
Implements
See also
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應