Returns the EventInfo object representing specified event.
[Visual Basic] Overrides Public Function GetEvent( _ ByVal name As String, _ ByVal bindingAttr As BindingFlags _ ) As EventInfo [C#] public override EventInfo GetEvent( string name, BindingFlags bindingAttr ); [C++] public: override EventInfo* GetEvent( String* name, BindingFlags bindingAttr ); [JScript] public override function GetEvent( name : String, bindingAttr : BindingFlags ) : EventInfo;
Returns an EventInfo object representing the event declared or inherited by this type with the specified name. Returns null if no such event is found.
If bindingAttr is BindingFlags.IgnoreCase, the case on name is ignored.
TypeDelegator Class | TypeDelegator Members | System.Reflection Namespace