IReflect.GetMethods Method
.NET Framework 4.5
Retrieves an array of MethodInfo objects with all public methods or all methods of the current class.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Parameters
- bindingAttr
- Type: System.Reflection.BindingFlags
The binding attributes used to control the search.
Return Value
Type: System.Reflection.MethodInfo[]An array of MethodInfo objects containing all the methods defined for this reflection object that meet the search constraints specified in bindingAttr.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.