Type.GetMethod Method (, , , , array<Type[], array<[])

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, _
    binder As Binder, _
    callConvention As CallingConventions, _
    types As Type(), _
    modifiers As ParameterModifier() _
) As MethodInfo
'Usage
Dim instance As Type
Dim name As String
Dim bindingAttr As BindingFlags
Dim binder As Binder
Dim callConvention As CallingConventions
Dim types As Type()
Dim modifiers As ParameterModifier()
Dim returnValue As MethodInfo

returnValue = instance.GetMethod(name, _
    bindingAttr, binder, callConvention, _
    types, modifiers)
public MethodInfo GetMethod(
    string name,
    BindingFlags bindingAttr,
    Binder binder,
    CallingConventions callConvention,
    Type[] types,
    ParameterModifier[] modifiers
)
public:
MethodInfo^ GetMethod(
    String^ name, 
    BindingFlags bindingAttr, 
    Binder^ binder, 
    CallingConventions callConvention, 
    array<Type^>^ types, 
    array<ParameterModifier>^ modifiers
)
member GetMethod : 
        name:string * 
        bindingAttr:BindingFlags * 
        binder:Binder * 
        callConvention:CallingConventions * 
        types:Type[] * 
        modifiers:ParameterModifier[] -> MethodInfo 
public function GetMethod(
    name : String, 
    bindingAttr : BindingFlags, 
    binder : Binder, 
    callConvention : CallingConventions, 
    types : Type[], 
    modifiers : ParameterModifier[]
) : MethodInfo

Parameters

  • name
    Type: String
  • bindingAttr
    Type: BindingFlags
  • binder
    Type: Binder
  • callConvention
    Type: CallingConventions
  • modifiers
    Type: array<ParameterModifier[]

Return Value

Type: System.Reflection.Mock.MethodInfo

.NET Framework Security

See Also

Reference

Type Class

Type Members

GetMethod Overload

System.Reflection.Mock Namespace