DataConnectionProperties.GetProperty, méthode

Récupère le descripteur d'une propriété avec le nom de la propriété spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Protected Function GetProperty ( _
    name As String _
) As PropertyDescriptor
protected PropertyDescriptor GetProperty(
    string name
)
protected:
PropertyDescriptor^ GetProperty(
    String^ name
)
member GetProperty : 
        name:string -> PropertyDescriptor
protected function GetProperty(
    name : String
) : PropertyDescriptor

Paramètres

  • name
    Type : String

    Le nom d'une propriété pour laquelle récupérer le descripteur.

Valeur de retour

Type : PropertyDescriptor
Un descripteur d'une propriété avec le nom de la propriété spécifié, ou nullune référence null (Nothing en Visual Basic) si aucune propriété portant le nom spécifié est trouvée.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre name est null.

Sécurité .NET Framework

Voir aussi

Référence

DataConnectionProperties Classe

Microsoft.VisualStudio.Data.Framework, espace de noms