_Type.GetEvent Method (String)
.NET Framework (current version)
Provides COM objects with version-independent access to the Type.GetEvent method.
mscorlib (in mscorlib.dll)
A bitmask comprised of one or more BindingFlags that specify how the search is conducted.
Zero, to return null.
An array of EventInfo objects representing all events that are declared or inherited by the current Type that match the specified binding constraints.
An empty array of type EventInfo, if the current Type does not have events, or if none of the events match the binding constraints.
This method is for access to managed classes from unmanaged code, and should not be called from managed code.
The Type.GetEvent method searches for events that are declared or inherited by the current Type, using the specified binding constraints.
Return to top
Available since 1.1