EventBindingService::CreateUniqueMethodName Method (IComponent^, EventDescriptor^)
.NET Framework (current version)
Creates a unique method name.
Assembly: System.Design (in System.Design.dll)
protected: virtual String^ CreateUniqueMethodName( IComponent^ component, EventDescriptor^ e ) abstract
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component for which the method name will be created.
- e
-
Type:
System.ComponentModel::EventDescriptor^
The event to create a name for.
| Exception | Condition |
|---|---|
| ArgumentNullException | component or e is null. |
The name returned by the CreateUniqueMethodName method must be compatible with the script language being used and it must not conflict with any other name in your code.
.NET Framework
Available since 2.0
Available since 2.0
Show: