EventBindingService::ShowCode Method (IComponent^, EventDescriptor^, String^)
.NET Framework (current version)
Displays the user code for the specified method.
Assembly: System.Design (in System.Design.dll)
protected: virtual bool ShowCode( IComponent^ component, EventDescriptor^ e, String^ methodName ) abstract
Parameters
- component
-
Type:
System.ComponentModel::IComponent^
The component to which the method is bound.
- e
-
Type:
System.ComponentModel::EventDescriptor^
The EventDescriptor for the event handler.
- methodName
-
Type:
System::String^
The name of the method for which to display code.
The ShowCode method displays the body of the user code with the given method name.
.NET Framework
Available since 2.0
Available since 2.0
Show: