Partager via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetComponentName, méthode

Extrait le nom de 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 GetComponentName As String
    Implements ICustomTypeDescriptor.GetComponentName
string ICustomTypeDescriptor.GetComponentName()
private:
virtual String^ GetComponentName() sealed = ICustomTypeDescriptor::GetComponentName
private abstract GetComponentName : unit -> string 
private override GetComponentName : unit -> string 
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Valeur de retour

Type : System.String
Nom de l'objet ou nullune référence null (Nothing en Visual Basic) si l'objet n'a pas de nom.

Implémentations

ICustomTypeDescriptor.GetComponentName()

Notes

Lorsque la méthode retourne nullune référence null (Nothing en Visual Basic), utilisez le nom par défaut.

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