SubMenuStyle.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.
For a description of this member, see ICustomTypeDescriptor.GetEvents.
Overloads
ICustomTypeDescriptor.GetEvents() |
For a description of this member, see GetEvents(). |
ICustomTypeDescriptor.GetEvents(Attribute[]) |
For a description of this member, see GetEvents(Attribute[]). |
Remarks
This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.
ICustomTypeDescriptor.GetEvents()
For a description of this member, see 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
Returns
An EventDescriptorCollection that contains the events for this instance.
Implements
Remarks
This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.
Applies to
ICustomTypeDescriptor.GetEvents(Attribute[])
For a description of this member, see 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
Parameters
Returns
An EventDescriptorCollection that contains the filtered events for this instance.
Implements
Remarks
This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈