PSObjectTypeDescriptor.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.
Overloads
GetEvents() |
Returns the events for this instance of a component. |
GetEvents(Attribute[]) |
Returns the events for this instance of a component using the attribute array as a filter. |
GetEvents()
Returns the events for this instance of a component.
public:
override System::ComponentModel::EventDescriptorCollection ^ GetEvents();
public override System.ComponentModel.EventDescriptorCollection GetEvents ();
override this.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Public Overrides Function GetEvents () As EventDescriptorCollection
Returns
An EventDescriptorCollection that represents the events for this component instance.
Applies to
GetEvents(Attribute[])
Returns the events for this instance of a component using the attribute array as a filter.
public:
override System::ComponentModel::EventDescriptorCollection ^ GetEvents(cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[] attributes);
override this.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Overrides Function GetEvents (attributes As Attribute()) As EventDescriptorCollection
Parameters
Returns
An EventDescriptorCollection that represents the events for this component instance that match the given set of attributes.