GetMethodImpl Method

Module.GetMethodImpl Method

Returns the method implementation in accordance with the specified criteria.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Protected Overridable Function GetMethodImpl ( _
	name As String, _
	bindingAttr As BindingFlags, _
	binder As Binder, _
	callConvention As CallingConventions, _
	types As Type(), _
	modifiers As ParameterModifier() _
) As MethodInfo
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 = Me.GetMethodImpl(name, bindingAttr, binder, callConvention, types, modifiers)
protected MethodInfo GetMethodImpl (
	String name, 
	BindingFlags bindingAttr, 
	Binder binder, 
	CallingConventions callConvention, 
	Type[] types, 
	ParameterModifier[] modifiers
protected function GetMethodImpl (
	name : String, 
	bindingAttr : BindingFlags, 
	binder : Binder, 
	callConvention : CallingConventions, 
	types : Type[], 
	modifiers : ParameterModifier[]
) : MethodInfo



The method name.


One of the BindingFlags bit flags used to control the search.


An object that implements Binder, containing properties related to this method.


The calling convention for the method.


The parameter types to search for.


An array of parameter modifiers used to make binding work with parameter signatures in which the types have been modified.

Return Value

A MethodInfo object containing implementation information as specified, or a null reference (Nothing in Visual Basic) if the method does not exist.

Exception typeCondition


types is a null reference (Nothing in Visual Basic).

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft