DynamicActivity.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 collection of events of the dynamic activity.
Overloads
ICustomTypeDescriptor.GetEvents() |
Returns the collection of events of the dynamic activity. |
ICustomTypeDescriptor.GetEvents(Attribute[]) |
Returns the collection of events of the dynamic activity using a specified array of attributes as a filter. |
ICustomTypeDescriptor.GetEvents()
Returns the collection of events of the dynamic activity.
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
The collection of events.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the DynamicActivity instance is cast to an ICustomTypeDescriptor interface.
Applies to
ICustomTypeDescriptor.GetEvents(Attribute[])
Returns the collection of events of the dynamic activity using a specified array of attributes 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);
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
- attributes
- Attribute[]
An array that you can use as a filter.
Returns
The collection of events that match the specified attributes.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the DynamicActivity instance is cast to an ICustomTypeDescriptor interface.