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

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

Parameters

  • name
    Type: String
  • 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