AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent, méthode

Récupère l'événement par défaut pour l'objet spécifié.

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

Syntaxe

'Déclaration
Private Function GetDefaultEvent As EventDescriptor 
    Implements ICustomTypeDescriptor.GetDefaultEvent
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
private:
virtual EventDescriptor^ GetDefaultEvent() sealed = ICustomTypeDescriptor::GetDefaultEvent
private abstract GetDefaultEvent : unit -> EventDescriptor  
private override GetDefaultEvent : unit -> EventDescriptor
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Valeur de retour

Type : EventDescriptor
Retourne un EventDescriptor représentant l'événement par défaut pour l'objet spécifié, ou retourne nullune référence null (Nothing en Visual Basic) si l'objet n'a pas d'événements.

Implémentations

ICustomTypeDescriptor.GetDefaultEvent

Notes

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

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms