Type.GetMethod Method (, array<Type[])
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() _
) As MethodInfo
'Usage
Dim instance As Type
Dim name As String
Dim types As Type()
Dim returnValue As MethodInfo
returnValue = instance.GetMethod(name, _
types)
public MethodInfo GetMethod(
string name,
Type[] types
)
public:
MethodInfo^ GetMethod(
String^ name,
array<Type^>^ types
)
member GetMethod :
name:string *
types:Type[] -> MethodInfo
public function GetMethod(
name : String,
types : Type[]
) : MethodInfo
Parameters
- name
Type: String
- types
Type: array<System.Reflection.Mock.Type[]
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.