Partager via


DataViewBrowseObject.IReflect.GetProperty, méthode (String, BindingFlags)

Récupère la propriété spécifiée pour le type de l'instance actuelle, à l'aide de les contraintes de liaison spécifiées.

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

Syntaxe

'Déclaration
Private Function GetProperty ( _
    name As String, _
    bindingAttr As BindingFlags _
) As PropertyInfo Implements IReflect.GetProperty
PropertyInfo IReflect.GetProperty(
    string name,
    BindingFlags bindingAttr
)
private:
virtual PropertyInfo^ GetProperty(
    String^ name, 
    BindingFlags bindingAttr
) sealed = IReflect::GetProperty
private abstract GetProperty : 
        name:string * 
        bindingAttr:BindingFlags -> PropertyInfo 
private override GetProperty : 
        name:string * 
        bindingAttr:BindingFlags -> PropertyInfo 
JScript ne prend pas en charge les implémentations d'interfaces explicites.

Paramètres

Valeur de retour

Type : System.Reflection.PropertyInfo
Un tableau d'objets représentant PropertyInfo toutes les propriétés pour le type de l'instance actuelle qui correspondent à des contraintes de liaison spécifiées.Si le type de l'instance actuelle n'a pas de propriétés, ou si aucune des propriétés ne correspond les contraintes de liaison, retourne un tableau vide du type PropertyInfo.

Implémentations

IReflect.GetProperty(String, BindingFlags)

Sécurité .NET Framework

Voir aussi

Référence

DataViewBrowseObject Classe

GetProperty, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms