CodeDomEventBindingService::UseMethod Method (IComponent^, EventDescriptor^, String^)
Visual Studio 2015
Creates the method declaration for the given method name and event descriptor.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
protected: virtual void UseMethod( IComponent^ component, EventDescriptor^ e, String^ methodName ) override
Parameters
- component
- Type: System.ComponentModel::IComponent^
- methodName
-
Type:
System::String^
The name of the method.
This method first finds the method and then determines that the corresponding method was not already defined in the base class. It then generates the code and adds it to the list of members.
Show: