TypeInfo.GetDeclaredMethods Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a collection that contains all public methods declared on the current type that match the specified name.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function GetDeclaredMethods ( _ name As String _ ) As IEnumerable(Of MethodInfo)
Parameters
- name
- Type: System.String
The method name to search for.
Return Value
Type: System.Collections.Generic.IEnumerable(Of MethodInfo)A collection that contains methods that match name.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is Nothing. |
Show: