Module.GetMethods Method (BindingFlags)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Overridable Function GetMethods ( _
    bindingFlags As BindingFlags _
) As MethodInfo()
public virtual MethodInfo[] GetMethods(
    BindingFlags bindingFlags
)

Parameters

Return Value

Type: array<System.Reflection..::.MethodInfo>[]()[]
An array that contains 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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Module Class

GetMethods Overload

System.Reflection Namespace