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.

bool 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

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.1, 5, 6, 7, 8, 9

IEventBindingService.ShowCode(Int32)

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

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

bool IEventBindingService.ShowCode (int lineNumber);

Parameters

lineNumber
Int32

The line number to place the caret on.

Returns

true if the code is displayed; otherwise, false.

Implements

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.1, 5, 6, 7, 8, 9

IEventBindingService.ShowCode(IComponent, EventDescriptor)

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

Displays the user code for the specified event.

bool IEventBindingService.ShowCode (System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor e);

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

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.1, 5, 6, 7, 8, 9