Type.GetEvent Method

July 28, 2014

Gets a specific event declared or inherited by the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method GetEvent(String) Returns the EventInfo object representing the specified public event.
Public method GetEvent(String, BindingFlags) When overridden in a derived class, returns the EventInfo object representing the specified event, using the specified binding constraints.
Top

Show:
© 2014 Microsoft