Partager via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent, méthode

Extrait l'événement par défaut pour l'objet spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.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 : System.ComponentModel.EventDescriptor
EventDescriptor représentant l'événement par défaut pour l'objet spécifié, ou nullune référence null (Nothing en Visual Basic) si cet objet n'a pas d'événements.

Implémentations

ICustomTypeDescriptor.GetDefaultEvent()

Notes

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

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms