Type.GetMethod Method (String)
Searches for the public method with the specified name.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute]
public MethodInfo GetMethod (
stringname
)
Parameters
- name
The String object containing the name of the method you want to get.
Return Value
A MethodInfo object representing the method with the specified name, if it is found; otherwise, a null reference.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.