Type.GetMethod Method (, )
Namespace: System.Reflection.Mock
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Function GetMethod ( _
name As String, _
bindingAttr As BindingFlags _
) As MethodInfo
'Usage
Dim instance As Type
Dim name As String
Dim bindingAttr As BindingFlags
Dim returnValue As MethodInfo
returnValue = instance.GetMethod(name, _
bindingAttr)
public MethodInfo GetMethod(
string name,
BindingFlags bindingAttr
)
public:
MethodInfo^ GetMethod(
String^ name,
BindingFlags bindingAttr
)
member GetMethod :
name:string *
bindingAttr:BindingFlags -> MethodInfo
public function GetMethod(
name : String,
bindingAttr : BindingFlags
) : MethodInfo
Parameters
- name
Type: String
- bindingAttr
Type: BindingFlags
Return Value
Type: System.Reflection.Mock.MethodInfo
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.