TypeDescriptor::GetEvents Method (Type^)
.NET Framework (current version)
Returns the collection of events for a specified type of component.
Assembly: System (in System.dll)
Parameters
- componentType
-
Type:
System::Type^
The Type of the target component.
Return Value
Type: System.ComponentModel::EventDescriptorCollection^An EventDescriptorCollection with the events for this component.
Call this version of this method only when you do not have an instance of the object.
If the componentType parameter is null, an empty collection is returned.
The order of the returned collection is not guaranteed to be identical between calls, so always order it before use.
.NET Framework
Available since 1.1
Available since 1.1
Show: