Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventInfo Members

EventInfo overview

Public Properties

public propertyAttributes

Supported by the .NET Compact Framework.

Gets the attributes for this event.
public propertyDeclaringType (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the class that declares this member.
public propertyEventHandlerType

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets a value indicating whether the event is multicast.
public propertyIsSpecialName

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overridden. Gets the member type of this event.
public propertyName (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the name of this member.
public propertyReflectedType (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Gets the class object that was used to obtain this instance of MemberInfo.

Public Methods

public methodAddEventHandler

Supported by the .NET Compact Framework.

Adds an event handler to an event source.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetAddMethod

Supported by the .NET Compact Framework.

Overloaded. Returns the method used to add an event handler delegate to the event source.
public methodGetCustomAttributes (inherited from MemberInfo)

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, returns all attributes defined on this member.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetRaiseMethod

Supported by the .NET Compact Framework.

Overloaded. Returns the method that is called when the event is raised.
public methodGetRemoveMethod

Supported by the .NET Compact Framework.

Overloaded. Returns the method used to remove an event handler delegate from the event source.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIsDefined (inherited from MemberInfo)

Supported by the .NET Compact Framework.

When overridden in a derived class, indicates whether one or more instance of attributeType is defined on this member.
public methodRemoveEventHandler

Supported by the .NET Compact Framework.

Removes an event handler from an event source.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorEventInfo Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the EventInfo class.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

EventInfo Class | System.Reflection Namespace

Show:
© 2014 Microsoft