Export (0) Print
Expand All

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

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 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

ADD
Show:
© 2014 Microsoft