Click or drag to resize
EventInfo Class
Discovers the attributes of an event and provides access to event metadata.
Inheritance Hierarchy

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
[SerializableAttribute]
public abstract class EventInfo : MemberInfo, 
	_EventInfo

The EventInfo type exposes the following members.

Methods
  NameDescription
Public methodAddEventHandler
Adds an event handler to an event source.
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Overrides MemberInfoEquals(Object).)
Public methodGetAddMethod
Returns the method used to add an event handler delegate to the event source.
Public methodGetAddMethod(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.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides MemberInfoGetHashCode.)
Public methodGetRemoveMethod
Returns the method used to remove an event handler delegate from the event source.
Public methodGetRemoveMethod(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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveEventHandler
Removes an event handler from an event source.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyName
Gets the name of the current member.
(Inherited from MemberInfo.)
Top
See Also