CodeDomEventBindingService::CreateUniqueMethodName Method (IComponent^, EventDescriptor^)
Visual Studio 2015
Creates a unique method name for the event.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
protected: virtual String^ CreateUniqueMethodName( IComponent^ component, EventDescriptor^ e ) override
Parameters
- component
- Type: System.ComponentModel::IComponent^
This method creates a name of the format component_name_eventname. When this conflicts with an existing method it will append "_#" to the end of the method, incrementing the number at the end until a unique method name is obtained.
Show: