IReflectGetMethods Method |
Retrieves an array of
MethodInfo objects with all public methods or all methods of the current class.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax MethodInfo[] GetMethods(
BindingFlags bindingAttr
)
Parameters
- bindingAttr
- Type: System.ReflectionBindingFlags
The binding attributes used to control the search.
Return Value
Type:
MethodInfoAn array of
MethodInfo objects containing all the methods defined for this reflection object that meet the search constraints specified in
bindingAttr.
See Also