DataConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent, méthode

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

Espace de noms :  Microsoft.VisualStudio.Data
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 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 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 sur la méthode d' GetDefaultEvent dans la bibliothèque de classes d' .NET Framework .

Sécurité .NET Framework

Voir aussi

Référence

DataConnectionProperties Classe

Microsoft.VisualStudio.Data, espace de noms