DataViewBrowseObject.IReflect.GetMethod Method

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

'宣言
Private Function GetMethod ( _
    name As String, _
    bindingAttr As BindingFlags _
) As MethodInfo Implements IReflect.GetMethod
'使用
Dim instance As DataViewBrowseObject
Dim name As String
Dim bindingAttr As BindingFlags
Dim returnValue As MethodInfo

returnValue = CType(instance, IReflect).GetMethod(name, _
    bindingAttr)
MethodInfo IReflect.GetMethod(
    string name,
    BindingFlags bindingAttr
)
private:
virtual MethodInfo^ GetMethod(
    String^ name, 
    BindingFlags bindingAttr
) sealed = IReflect::GetMethod
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, a null reference (Nothing in Visual Basic).

Implements

IReflect.GetMethod(String, BindingFlags)

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace