Udostępnij przez


EventBindingService.IEventBindingService.ShowCode Metoda

Definicja

Wyświetla kod użytkownika dla projektanta.

Przeciążenia

IEventBindingService.ShowCode()

Wyświetla kod użytkownika dla projektanta.

IEventBindingService.ShowCode(Int32)

Wyświetla kod użytkownika projektanta w określonym wierszu.

IEventBindingService.ShowCode(IComponent, EventDescriptor)

Wyświetla kod użytkownika dla określonego zdarzenia.

IEventBindingService.ShowCode()

Wyświetla kod użytkownika dla projektanta.

 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

Zwraca

true jeśli jest wyświetlany kod; w przeciwnym razie , false.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy EventBindingService wystąpienie jest rzutowanie do interfejsu IEventBindingService .

Dotyczy

IEventBindingService.ShowCode(Int32)

Wyświetla kod użytkownika projektanta w określonym wierszu.

 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

Parametry

lineNumber
Int32

Numer wiersza do umieszczania karetki.

Zwraca

true jeśli jest wyświetlany kod; w przeciwnym razie , false.

Implementuje

Dotyczy

IEventBindingService.ShowCode(IComponent, EventDescriptor)

Wyświetla kod użytkownika dla określonego zdarzenia.

 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

Parametry

component
IComponent

Składnik, z którą jest połączone zdarzenie.

e
EventDescriptor

Zdarzenie do wyświetlenia.

Zwraca

true jeśli jest wyświetlany kod; w przeciwnym razie , false.

Implementuje

Wyjątki

events to null.

Dotyczy