EventBuilder Methods

The EventBuilder type exposes the following members.

  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(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEventToken Returns the token for this event.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetAddOnMethod Sets the method used to subscribe to this event.
Public method SetCustomAttribute(CustomAttributeBuilder) Sets a custom attribute using a custom attribute builder.
Public method SetCustomAttribute(ConstructorInfo, Byte[]) Set a custom attribute using a specified custom attribute blob.
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 implemetation Private method _EventBuilder.GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Explicit interface implemetation Private method _EventBuilder.GetTypeInfo Retrieves the type information for an object, which can then be used to get the type information for an interface.
Explicit interface implemetation Private method _EventBuilder.GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Explicit interface implemetation Private method _EventBuilder.Invoke Provides access to properties and methods exposed by an object.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft