CodeDomEventBindingService Members
Include Protected Members
Include Inherited Members
A service used to generate event-handling code.
The CodeDomEventBindingService type exposes the following members.
Constructors
Name
Description
Initializes a new instance of CodeDomEventBindingService.
Top
Methods
Name
Description
Creates a unique method name for the event. (Overrides EventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor).)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Removes the specified method from the code if no event handlers are using it and it is empty. (Overrides EventBindingService.FreeMethod(IComponent, EventDescriptor, String).)
Gets all the methods in the code DOM that are compatible with the specified event descriptor. (Overrides EventBindingService.GetCompatibleMethods(EventDescriptor).)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the requested service from the service provider. (Inherited from EventBindingService.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Overloaded. Displays the code in the editor window.
Returns a string that represents the current object. (Inherited from Object.)
Creates the method declaration for the given method name and event descriptor. (Overrides EventBindingService.UseMethod(IComponent, EventDescriptor, String).)
Validates the name of the method. (Overrides EventBindingService.ValidateMethodName(String).)
Top
Properties
Name
Description
Gets the code DOM data adapter.
Top
Explicit Interface Implementations
Name
Description
IEventBindingService.CreateUniqueMethodName
Creates a unique name for an event-handler method for the specified component and event. (Inherited from EventBindingService.)
IEventBindingService.GetCompatibleMethods
Gets a collection of event-handler methods that have a method signature compatible with the specified event. (Inherited from EventBindingService.)
Gets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event. (Inherited from EventBindingService.)
IEventBindingService.GetEventProperties
Converts a set of event descriptors to a set of property descriptors. (Inherited from EventBindingService.)
IEventBindingService.GetEventProperty
Converts a single event descriptor to a property descriptor. (Inherited from EventBindingService.)
Overloaded. Displays the user code for the designer.
Top
See Also
Reference
CodeDomEventBindingService Class
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace