System.Reflection.Module.GetMethods Method

Returns the global methods defined on the module that match the specified binding flags.

Syntax

public virtual MethodInfo[] GetMethods (BindingFlags bindingFlags)

Parameters

bindingFlags
A bitwise combination of System.Reflection.BindingFlags values that limit the search.

Returns

An array of type System.Reflection.MethodInfo representing the global methods defined on the module that match the specified binding flags; if no global methods match the binding flags, an empty array is returned.

Remarks

Note: A global method is a method with a module-level scope.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0