Condividi tramite


Metodo DataConnectionProperties.ICustomTypeDescriptor.GetEvents

Recupera gli eventi dell'istanza specificata di un componente.

Spazio dei nomi:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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: System.ComponentModel.EventDescriptorCollection
Restituisce un oggetto EventDescriptorCollection che rappresenta gli eventi per l'istanza del componente specificato.

Implementa

ICustomTypeDescriptor.GetEvents()

Note

Questo metodo fornisce un'implementazione del 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 la proprietà non è 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