แก้ไข

แชร์ผ่าน


EventBindingService.IEventBindingService.ShowCode Method

Definition

Displays the user code for the designer.

Overloads

IEventBindingService.ShowCode()

Displays the user code for the designer.

IEventBindingService.ShowCode(Int32)

Displays the user code for the designer at the specified line.

IEventBindingService.ShowCode(IComponent, EventDescriptor)

Displays the user code for the specified event.

IEventBindingService.ShowCode()

Source:
EventBindingService.cs
Source:
EventBindingService.cs
Source:
EventBindingService.cs

Displays the user code for the designer.

 virtual bool System.ComponentModel.Design.IEventBindingService.ShowCode() = System::ComponentModel::Design::IEventBindingService::ShowCode;
bool IEventBindingService.ShowCode ();
abstract member System.ComponentModel.Design.IEventBindingService.ShowCode : unit -> bool
override this.System.ComponentModel.Design.IEventBindingService.ShowCode : unit -> bool
Function ShowCode () As Boolean Implements IEventBindingService.ShowCode

Returns

true if the code is displayed; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the EventBindingService instance is cast to an IEventBindingService interface.

Applies to

IEventBindingService.ShowCode(Int32)

Source:
EventBindingService.cs
Source:
EventBindingService.cs
Source:
EventBindingService.cs

Displays the user code for the designer at the specified line.

 virtual bool System.ComponentModel.Design.IEventBindingService.ShowCode(int lineNumber) = System::ComponentModel::Design::IEventBindingService::ShowCode;
bool IEventBindingService.ShowCode (int lineNumber);
abstract member System.ComponentModel.Design.IEventBindingService.ShowCode : int -> bool
override this.System.ComponentModel.Design.IEventBindingService.ShowCode : int -> bool
Function ShowCode (lineNumber As Integer) As Boolean Implements IEventBindingService.ShowCode

Parameters

lineNumber
Int32

The line number to place the caret on.

Returns

true if the code is displayed; otherwise, false.

Implements

Applies to

IEventBindingService.ShowCode(IComponent, EventDescriptor)

Source:
EventBindingService.cs
Source:
EventBindingService.cs
Source:
EventBindingService.cs

Displays the user code for the specified event.

 virtual bool System.ComponentModel.Design.IEventBindingService.ShowCode(System::ComponentModel::IComponent ^ component, System::ComponentModel::EventDescriptor ^ e) = System::ComponentModel::Design::IEventBindingService::ShowCode;
bool IEventBindingService.ShowCode (System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e);
abstract member System.ComponentModel.Design.IEventBindingService.ShowCode : System.ComponentModel.IComponent * System.ComponentModel.EventDescriptor -> bool
override this.System.ComponentModel.Design.IEventBindingService.ShowCode : System.ComponentModel.IComponent * System.ComponentModel.EventDescriptor -> bool
Function ShowCode (component As IComponent, e As EventDescriptor) As Boolean Implements IEventBindingService.ShowCode

Parameters

component
IComponent

The component that the event is connected to.

e
EventDescriptor

The event to display.

Returns

true if the code is displayed; otherwise, false.

Implements

Exceptions

events is null.

Applies to