IComNativeDescriptorHandler.GetEvents Yöntem

Tanım

Belirtilen bileşen için olayları alır.

Aşırı Yüklemeler

Name Description
GetEvents(Object)

Belirtilen bileşen için olayları alır.

GetEvents(Object, Attribute[])

Belirtilen bileşen için belirtilen özniteliklere sahip olayları alır.

GetEvents(Object)

Kaynak:
IComNativeDescriptorHandler.cs
Kaynak:
IComNativeDescriptorHandler.cs
Kaynak:
ActiveDesignerEventArgs.cs

Belirtilen bileşen için olayları alır.

public:
 System::ComponentModel::EventDescriptorCollection ^ GetEvents(System::Object ^ component);
public System.ComponentModel.EventDescriptorCollection GetEvents(object component);
abstract member GetEvents : obj -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (component As Object) As EventDescriptorCollection

Parametreler

component
Object

Olayları almak için bileşen.

Döndürülenler

için componentolay tanımlayıcıları koleksiyonu.

Açıklamalar

Note

Bu API artık kullanımdan kaldırıldı. Eski olmayan alternatif: ComObjectType.

Şunlara uygulanır

GetEvents(Object, Attribute[])

Kaynak:
IComNativeDescriptorHandler.cs
Kaynak:
IComNativeDescriptorHandler.cs
Kaynak:
ActiveDesignerEventArgs.cs

Belirtilen bileşen için belirtilen özniteliklere sahip olayları alır.

public:
 System::ComponentModel::EventDescriptorCollection ^ GetEvents(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents(object component, Attribute[]? attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
abstract member GetEvents : obj * Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (component As Object, attributes As Attribute()) As EventDescriptorCollection

Parametreler

component
Object

Olayları almak için bileşen.

attributes
Attribute[]

Olayları filtrelemek için kullanılan öznitelikler.

Döndürülenler

için componentolay tanımlayıcıları koleksiyonu.

Açıklamalar

Note

Bu API artık kullanımdan kaldırıldı. Eski olmayan alternatif: ComObjectType.

Şunlara uygulanır