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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.