TypeInfo.GetDeclaredMethod Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an object that represents the specified public method declared by the current type.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function GetDeclaredMethod ( _ name As String _ ) As MethodInfo
Parameters
- name
- Type: System.String
The name of the method.
Return Value
Type: System.Reflection.MethodInfoAn object that represents the specified method, if found; otherwise, Nothing.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is Nothing. |
Show: