Module.GetMethods Module.GetMethods Module.GetMethods Module.GetMethods Method

Definition

Returns the global methods defined on the module

Overloads

GetMethods() GetMethods() GetMethods() GetMethods()

Returns the global methods defined on the module.

GetMethods(BindingFlags) GetMethods(BindingFlags) GetMethods(BindingFlags)

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

GetMethods() GetMethods() GetMethods() GetMethods()

Returns the global methods defined on the module.

public:
 cli::array <System::Reflection::MethodInfo ^> ^ GetMethods();
public System.Reflection.MethodInfo[] GetMethods ();
member this.GetMethods : unit -> System.Reflection.MethodInfo[]
Public Function GetMethods () As MethodInfo()

Returns

An array of MethodInfo objects representing all the global methods defined on the module; if there are no global methods, an empty array is returned.

GetMethods(BindingFlags) GetMethods(BindingFlags) GetMethods(BindingFlags)

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

public:
 virtual cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public virtual System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags);
abstract member GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]

Parameters

bindingFlags
BindingFlags BindingFlags BindingFlags BindingFlags

A bitwise combination of BindingFlags values that limit the search.

Returns

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.

Applies to