EventInfo Class |
Namespace: System.Reflection
[SerializableAttribute] public abstract class EventInfo : MemberInfo, _EventInfo
The EventInfo type exposes the following members.
Name | Description | |
---|---|---|
AddEventHandler | Adds an event handler to an event source. | |
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Overrides MemberInfoEquals(Object).) | |
GetAddMethod | Returns the method used to add an event handler delegate to the event source. | |
GetAddMethod(Boolean) | When overridden in a derived class, retrieves the MethodInfo object for the AddEventHandler(Object, Delegate) method of the event, specifying whether to return non-public methods. | |
GetHashCode | Returns the hash code for this instance. (Overrides MemberInfoGetHashCode.) | |
GetRemoveMethod | Returns the method used to remove an event handler delegate from the event source. | |
GetRemoveMethod(Boolean) | 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 | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveEventHandler | Removes an event handler from an event source. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Name | Gets the name of the current member. (Inherited from MemberInfo.) |