EventBindingService Klasa

Definicja

Domyślna implementacja interfejsu IEventBindingService .

public ref class EventBindingService abstract : System::ComponentModel::Design::IEventBindingService
public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
[System.Security.SecurityCritical]
public abstract class EventBindingService : System.ComponentModel.Design.IEventBindingService
type EventBindingService = class
    interface IEventBindingService
[<System.Security.SecurityCritical>]
type EventBindingService = class
    interface IEventBindingService
Public MustInherit Class EventBindingService
Implements IEventBindingService
Dziedziczenie
EventBindingService
Atrybuty
Implementuje

Uwagi

Dostarczając usługę do rejestrowania programów obsługi zdarzeń dla zdarzeń składników, EventBindingService można połączyć program obsługi zdarzeń ze zdarzeniem składnika z kodu projektanta.

Konstruktory

EventBindingService(IServiceProvider)

Inicjuje nowe wystąpienie klasy EventBindingService.

Metody

CreateUniqueMethodName(IComponent, EventDescriptor)

Tworzy unikatową nazwę metody.

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
FreeMethod(IComponent, EventDescriptor, String)

Zawiera powiadomienie, że określona metoda nie jest już używana przez program obsługi zdarzeń.

GetCompatibleMethods(EventDescriptor)

Zwraca kolekcję nazw zgodnych metod.

GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetService(Type)

Pobiera żądaną usługę od dostawcy usług.

GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ShowCode()

Wyświetla kod użytkownika.

ShowCode(IComponent, EventDescriptor, String)

Wyświetla kod użytkownika dla określonej metody.

ShowCode(Int32)

Wyświetla kod użytkownika pod podanym numerem wiersza.

ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)
UseMethod(IComponent, EventDescriptor, String)

Dostarcza powiadomienie, że określona metoda jest używana przez program obsługi zdarzeń.

ValidateMethodName(String)

Sprawdza, czy podana nazwa metody jest prawidłowa dla używanego języka lub skryptu.

Jawne implementacje interfejsu

IEventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor)

Tworzy unikatową nazwę metody obsługi zdarzeń dla określonego składnika i zdarzenia.

IEventBindingService.GetCompatibleMethods(EventDescriptor)

Pobiera kolekcję metod obsługi zdarzeń, które mają sygnaturę metody zgodną z określonym zdarzeniem.

IEventBindingService.GetEvent(PropertyDescriptor)

Pobiera element EventDescriptor dla zdarzenia reprezentowanego przez deskryptor określonej właściwości, jeśli reprezentuje zdarzenie.

IEventBindingService.GetEventProperties(EventDescriptorCollection)

Konwertuje zestaw deskryptorów zdarzeń na zestaw deskryptorów właściwości.

IEventBindingService.GetEventProperty(EventDescriptor)

Konwertuje pojedynczy deskryptor zdarzeń na deskryptor właściwości.

IEventBindingService.ShowCode()

Wyświetla kod użytkownika projektanta.

IEventBindingService.ShowCode(IComponent, EventDescriptor)

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

IEventBindingService.ShowCode(Int32)

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

Dotyczy

Zobacz też