Module.GetMethodImpl Method

Returns the method implementation in accordance with the specified criteria.

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

protected virtual MethodInfo GetMethodImpl (
	string name,
	BindingFlags bindingAttr,
	Binder binder,
	CallingConventions callConvention,
	Type[] types,
	ParameterModifier[] 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
Not applicable.

Parameters

name

The method name.

bindingAttr

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

binder

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

callConvention

The calling convention for the method.

types

The parameter types to search for.

modifiers

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

AmbiguousMatchException

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

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: