EnumBuilder.GetEvent Method (String, BindingFlags)
Returns the event with the specified name.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overrides Function GetEvent ( _ name As String, _ bindingAttr As BindingFlags _ ) As EventInfo
- Type: System.String
The name of the event to get.
Return ValueType: System.Reflection.EventInfo
Returns an EventInfo object representing the event declared or inherited by this type with the specified name. If there are no matches, Nothing is returned.
This method is not currently supported in types that are not complete.