Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents, méthode

Récupère les événements pour l'instance spécifiée d'un composant.

Espace de noms :  Microsoft.VisualStudio.Data.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les implémentations d'interfaces explicites.

Valeur de retour

Type : EventDescriptorCollection
Retourne un objet EventDescriptorCollection représentant les événements pour l'instance de composant spécifiée.

Implémentations

ICustomTypeDescriptor.GetEvents

Notes

Cette méthode fournit une implémentation de la méthode GetEvents. Pour plus d'informations consultez la méthode GetEvents dans la bibliothèque de classes d'.NET Framework.

Les implémenteurs peuvent retourner Empty si aucune propriété n'est spécifiée.

Cette méthode ne doit jamais retourner nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

GetEvents, surcharge

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms