Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 MethodInfo[] GetMethods (
	BindingFlags bindingFlags
)
public MethodInfo[] GetMethods (
	BindingFlags bindingFlags
)
public function GetMethods (
	bindingFlags : BindingFlags
) : MethodInfo[]
Not applicable.

Parameters

bindingFlags

A bitwise combination of BindingFlags values that limit the search.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

Show:
© 2014 Microsoft