Partager via


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

Extrait la méthode spécifiée qui correspond aux contraintes de liaison spécifiées pour le type de l'instance actuelle.

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

Syntaxe

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

Paramètres

Valeur de retour

Type : System.Reflection.MethodInfo
Un objet d' MethodInfo représentant la méthode qui correspond aux contraintes de liaison spécifiées pour le type de l'instance actuelle, si détecté ; sinon, nullune référence null (Nothing en Visual Basic).

Implémentations

IReflect.GetMethod(String, BindingFlags)

Sécurité .NET Framework

Voir aussi

Référence

DataViewBrowseObject Classe

GetMethod, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms