Export (0) Print
Expand All

EventBuilder Members

Defines events for a class.

The following tables list the members exposed by the EventBuilder type.

  Name Description
Public method AddOtherMethod Adds one of the "other" methods associated with this event. "Other" methods are methods other than the "on" and "raise" methods associated with an event. This function can be called many times to add as many "other" methods.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEventToken Returns the token for this event.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method SetAddOnMethod Sets the method used to subscribe to this event.
Public method SetCustomAttribute Overloaded. Sets custom attributes for this EventBuilder.
Public method SetRaiseMethod Sets the method used to raise this event.
Public method SetRemoveOnMethod Sets the method used to unsubscribe to this event.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Runtime.InteropServices._EventBuilder.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implementation Method System.Runtime.InteropServices._EventBuilder.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implementation Method System.Runtime.InteropServices._EventBuilder.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implementation Method System.Runtime.InteropServices._EventBuilder.Invoke Provides access to properties and methods exposed by an object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft