System.Reflection.EventInfo Members

The members of System.Reflection.EventInfo are listed below.

See Also: Inherited members from System.Reflection.MemberInfo

Protected Constructors

Initializes a new instance of the EventInfo class.

Public Properties

[read-only]
AddMethodMethodInfo.

Gets the System.Reflection.MethodInfo object for the EventInfo.AddEventHandler(object, Delegate) method of the event, including non-public methods.

[read-only]
abstract
AttributesEventAttributes.

Gets the attributes for this event.

[read-only]
EventHandlerTypeType.

Gets the Type object of the underlying event-handler delegate associated with this event.

[read-only]
IsMulticastbool.

Gets a value indicating whether the event is multicast.

[read-only]
IsSpecialNamebool.

Gets a value indicating whether the EventInfo has a name with a special meaning.

[read-only]
override
MemberTypeMemberTypes.

Gets a System.Reflection.MemberTypes value indicating that this member is an event.

[read-only]
RaiseMethodMethodInfo.

Gets the method that is called when the event is raised, including non-public methods.

[read-only]
RemoveMethodMethodInfo.

Gets the MethodInfo object for removing a method of the event, including non-public methods.

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.

Public Operators

static
Equality(EventInfo, EventInfo)

Indicates whether two System.Reflection.EventInfo objects are equal.

static
Inequality(EventInfo, EventInfo)

Indicates whether two System.Reflection.EventInfo objects are not equal.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._EventInfo.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._EventInfo.GetType

Returns a T:System.Type object representing the System.Reflection.EventInfo type.

System.Runtime.InteropServices._EventInfo.GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System.Runtime.InteropServices._EventInfo.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._EventInfo.InvokeDocumentation for this section has not yet been entered.