Condividi tramite


Metodo DataConnectionProperties.ICustomTypeDescriptor.GetEvents

Recupera gli eventi dell'istanza specificata di un componente.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
Private Function GetEvents As EventDescriptorCollection 
    Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
private:
virtual EventDescriptorCollection^ GetEvents() sealed = ICustomTypeDescriptor::GetEvents
private abstract GetEvents : unit -> EventDescriptorCollection  
private override GetEvents : unit -> EventDescriptorCollection
JScript non supporta le implementazioni esplicite dell'interfaccia.

Valore restituito

Tipo: EventDescriptorCollection
Un oggetto EventDescriptorCollection che rappresenta gli eventi per l'istanza del componente specificata.

Implementa

ICustomTypeDescriptor.GetEvents

Note

Questo metodo fornisce un'implementazione di metodo GetEvents. Per ulteriori informazioni, vedere il metodo GetEvents nella libreria di classi .NET Framework.

Gli implementatori possono restituire un'istanza System.ComponentModel.EventDescriptorCollection.Empty se nessuna proprietà è specificata. Questo metodo non deve mai restituire nullriferimento null (Nothing in Visual Basic).

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataConnectionProperties Classe

Overload GetEvents

Spazio dei nomi Microsoft.VisualStudio.Data.Framework