EventBindingService::IEventBindingService::CreateUniqueMethodName Method (IComponent^, EventDescriptor^)
.NET Framework (current version)
Creates a unique name for an event-handler method for the specified component and event.
Assembly: System.Design (in System.Design.dll)
private: virtual String^ CreateUniqueMethodName( IComponent^ component, EventDescriptor^ e ) sealed = IEventBindingService::CreateUniqueMethodName
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component instance the event is connected to.
- e
-
Type:
System.ComponentModel::EventDescriptor^
The event to create a name for.
| Exception | Condition |
|---|---|
| ArgumentNullException | component or e is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: