System.Reflection.IReflect.GetMethod Method

Retrieves a System.Reflection.MethodInfo object that corresponds to a specified method under specified search constraints.

Syntax

public MethodInfo GetMethod (string name, BindingFlags bindingAttr)

Parameters

name
The name of the member to find.
bindingAttr
The binding attributes used to control the search.

Returns

A System.Reflection.MethodInfo object containing the method information, with the match being based on the method name and search constraints specified in bindingAttr.

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