Partager via


DataViewBrowseObject.IReflect.GetMethod Method (String, BindingFlags)

Retrieves the specified method that matches the specified binding constraints for the type of the current instance.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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 does not support explicit interface implementations.

Parameters

Return Value

Type: System.Reflection.MethodInfo
A MethodInfo object representing the method that matches the specified binding constraints for the type of the current instance, if found; otherwise, nulla null reference (Nothing in Visual Basic).

Implements

IReflect.GetMethod(String, BindingFlags)

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

GetMethod Overload

Microsoft.VisualStudio.Data.Framework Namespace