LocalizableProperties.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() |
Gets the collection of events for a specified component. |
GetEvents(Attribute[]) |
Gets the collection of events for a specified component using a specified array of attributes as a filter. |
GetEvents()
Gets the collection of events for a specified component.
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents();
public System.ComponentModel.EventDescriptorCollection GetEvents ();
abstract member GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents () As EventDescriptorCollection
Returns
An EventDescriptorCollection with the events for this component.
Implements
Remarks
Delegates to GetEvents.
Applies to
GetEvents(Attribute[])
Gets the collection of events for a specified component using a specified array of attributes as a filter.
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents(cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[] attributes);
abstract member GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (attributes As Attribute()) As EventDescriptorCollection
Parameters
Returns
An EventDescriptorCollection with the events that match the specified attributes for this component.
Implements
Remarks
Delegates to GetEvents.