Share via


CodeDomEventBindingService.ShowCode Method

Definition

Overloads

ShowCode()

Displays the code in the document data in the editor window.

ShowCode(Int32)

Displays the code at the specified line.

ShowCode(IComponent, EventDescriptor, String)

Shows the body of the user code with the given method name and event descriptor.

ShowCode()

Displays the code in the document data in the editor window.

protected:
 override bool ShowCode();
protected:
 override bool ShowCode();
 override bool ShowCode();
protected override bool ShowCode ();
override this.ShowCode : unit -> bool
Protected Overrides Function ShowCode () As Boolean

Returns

true if it was possible to open the editor window, otherwise false.

Applies to

ShowCode(Int32)

Displays the code at the specified line.

protected:
 override bool ShowCode(int lineNumber);
protected:
 override bool ShowCode(int lineNumber);
 override bool ShowCode(int lineNumber);
protected override bool ShowCode (int lineNumber);
override this.ShowCode : int -> bool
Protected Overrides Function ShowCode (lineNumber As Integer) As Boolean

Parameters

lineNumber
Int32

The line of the code to display.

Returns

true if it was possible to open the editor window, otherwise false.

Applies to

ShowCode(IComponent, EventDescriptor, String)

Shows the body of the user code with the given method name and event descriptor.

protected:
 override bool ShowCode(System::ComponentModel::IComponent ^ component, System::ComponentModel::EventDescriptor ^ e, System::String ^ methodName);
protected override bool ShowCode (System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e, string methodName);
override this.ShowCode : System.ComponentModel.IComponent * System.ComponentModel.EventDescriptor * string -> bool
Protected Overrides Function ShowCode (component As IComponent, e As EventDescriptor, methodName As String) As Boolean

Parameters

component
IComponent

IComponent.

methodName
String

The name of the method.

Returns

true if it was possible to open the editor window, otherwise false.

Applies to