TypeGetMethods Method (BindingFlags) |
When overridden in a derived class, searches for the methods defined for the current
Type, using the specified binding constraints.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public abstract MethodInfo[] GetMethods(
BindingFlags bindingAttr
)
Parameters
- bindingAttr
- Type: System.ReflectionBindingFlags
A bitmask comprised of one or more BindingFlags that specify how the search is conducted.-or- Zero, to return null.
Return Value
Type:
MethodInfoAn array of
MethodInfo objects representing all methods defined for the current
Type that match the specified binding constraints.-or- An empty array of type
MethodInfo, if no methods are defined for the current
Type, or if none of the defined methods match the binding constraints.
Implements
IReflectGetMethods(BindingFlags)See Also