Partager 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.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.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 : System.ComponentModel.PropertyDescriptor
PropertyDescriptor représentant la propriété par défaut de cet objet, ou nullune référence null (Nothing en Visual Basic) si cet objet n'a pas de propriétés.

Implémentations

ICustomTypeDescriptor.GetDefaultProperty()

Notes

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