IComNativeDescriptorHandler.GetEvents Metodo

Definizione

Ottiene gli eventi per il componente specificato.

Overload

GetEvents(Object)

Ottiene gli eventi per il componente specificato.

GetEvents(Object, Attribute[])

Ottiene gli eventi con gli attributi specificati per il componente specificato.

GetEvents(Object)

Ottiene gli eventi per il componente specificato.

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

Parametri

component
Object

Componente per il quale ottenere gli eventi.

Restituisce

Insieme di descrittori di evento per component.

Commenti

Nota

Questa API è ora obsoleta. L'alternativa non obsoleta è ComObjectType.

Si applica a

GetEvents(Object, Attribute[])

Ottiene gli eventi con gli attributi specificati per il componente specificato.

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

Parametri

component
Object

Componente per il quale ottenere gli eventi.

attributes
Attribute[]

Attributi utilizzati per filtrare gli eventi.

Restituisce

Insieme di descrittori di evento per component.

Commenti

Nota

Questa API è ora obsoleta. L'alternativa non obsoleta è ComObjectType.

Si applica a