EventBindingService::IEventBindingService::ShowCode Method (IComponent^, EventDescriptor^)
.NET Framework (current version)
Displays the user code for the specified event.
Assembly: System.Design (in System.Design.dll)
private: virtual bool ShowCode( IComponent^ component, EventDescriptor^ e ) sealed = IEventBindingService::ShowCode
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component that the event is connected to.
- e
-
Type:
System.ComponentModel::EventDescriptor^
The event to display.
| Exception | Condition |
|---|---|
| ArgumentNullException | events is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: