Type.GetMethods Method (BindingFlags)
When overridden in a derived class, this method searches for the methods defined for the current type, using the specified binding constraints (flags).
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
public virtual abstract MethodInfo [] GetMethods (
BindingFlags bindingAttr
)
Parameters
bindingAttr
A bitmask containing one or more BindingFlags objects that specify how the search is conducted.-or-
0 (zero), to return a null reference.
Return Value
An array of MethodInfo objects representing all of the methods defined for the current type that match the specified binding constraints.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.