The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Module::GetMethod Method (String^)
.NET Framework (current version)
Returns a method having the specified name.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- name
-
Type:
System::String^
The method name.
Return Value
Type: System.Reflection::MethodInfo^A MethodInfo object having the specified name, or null if the method does not exist.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is null. |
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: