System.Reflection.EventInfo: Method Members

The methods of System.Reflection.EventInfo are listed below. For a list of all members, see the EventInfo Members list.

See Also: Inherited members from System.Reflection.MemberInfo

Public Methods

AddEventHandler(object, Delegate)

Adds an event handler to an event source.

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

GetAddMethod() : MethodInfo

Returns the method used to add an event handler delegate to the event source.

abstract
GetAddMethod(bool) : MethodInfo

When overridden in a derived class, retrieves the MethodInfo object for the EventInfo.AddEventHandler(object, Delegate) method of the event, specifying whether to return non-public methods.

override
GetHashCode() : int

Returns the hash code for this instance.

GetOtherMethods() : MethodInfo[]

Returns the public methods that have been associated with an event in metadata using the .other directive.

GetOtherMethods(bool) : MethodInfo[]

Returns the methods that have been associated with the event in metadata using the .other directive, specifying whether to include non-public methods.

GetRaiseMethod() : MethodInfo

Returns the method that is called when the event is raised.

abstract
GetRaiseMethod(bool) : MethodInfo

When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.

GetRemoveMethod() : MethodInfo

Returns the method used to remove an event handler delegate from the event source.

abstract
GetRemoveMethod(bool) : MethodInfo

When overridden in a derived class, retrieves the MethodInfo object for removing a method of the event, specifying whether to return non-public methods.

GetType() : Type
Documentation for this section has not yet been entered.
RemoveEventHandler(object, Delegate)

Removes an event handler from an event source.