System.Reflection.Module.GetMethod Method

Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers.

Syntax

public MethodInfo GetMethod (string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)

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.

Returns

A MethodInfo object in accordance with the specified criteria, or null if the method does not exist.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0