AxHost.ICustomTypeDescriptor.GetEvents Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Zwraca zdarzenia dla bieżącego obiektu.
Przeciążenia
ICustomTypeDescriptor.GetEvents() |
Zwraca zdarzenia dla bieżącego obiektu. |
ICustomTypeDescriptor.GetEvents(Attribute[]) |
Zwraca zdarzenia dla bieżącego obiektu przy użyciu określonej tablicy atrybutów jako filtru. |
ICustomTypeDescriptor.GetEvents()
Zwraca zdarzenia dla bieżącego obiektu.
virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
Zwraca
Element EventDescriptorCollection reprezentujący zdarzenia dla bieżącego obiektu.
Implementuje
Uwagi
Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy AxHost wystąpienie jest rzutowe do interfejsu ICustomTypeDescriptor .
Dotyczy
ICustomTypeDescriptor.GetEvents(Attribute[])
Zwraca zdarzenia dla bieżącego obiektu przy użyciu określonej tablicy atrybutów jako filtru.
virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
Parametry
Zwraca
Element EventDescriptorCollection , który reprezentuje zdarzenia dla AxHost zestawu atrybutów, które pasują do danego zestawu atrybutów.