Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultProperty, méthode

Récupère la propriété 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 GetDefaultProperty As PropertyDescriptor 
    Implements ICustomTypeDescriptor.GetDefaultProperty
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
private:
virtual PropertyDescriptor^ GetDefaultProperty() sealed = ICustomTypeDescriptor::GetDefaultProperty
private abstract GetDefaultProperty : unit -> PropertyDescriptor  
private override GetDefaultProperty : unit -> PropertyDescriptor
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Valeur de retour

Type : PropertyDescriptor
Retourne un PropertyDescriptor représentant la propriété par défaut de cet objet, ou retourne nullune référence null (Nothing en Visual Basic) si l'objet n'a pas de propriétés.

Implémentations

ICustomTypeDescriptor.GetDefaultProperty

Notes

Cette méthode fournit une implémentation de la méthode GetDefaultProperty. Pour plus d'informations consultez la méthode GetDefaultProperty 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