Module.GetMethods Method (BindingFlags)

 

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

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual MethodInfo[] GetMethods(
	BindingFlags bindingFlags
)

Parameters

bindingFlags
Type: System.Reflection.BindingFlags

A bitwise combination of BindingFlags values that limit the search.

Return Value

Type: System.Reflection.MethodInfo[]

An array of type 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.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: