Επεξεργασία

Κοινή χρήση μέσω


Module.GetMethods Method

Definition

Returns the global methods defined on the module.

Overloads

GetMethods()

Returns the global methods defined on the module.

GetMethods(BindingFlags)

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

GetMethods()

Source:
Module.cs
Source:
Module.cs
Source:
Module.cs

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.

Applies to

GetMethods(BindingFlags)

Source:
Module.cs
Source:
Module.cs
Source:
Module.cs

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:
 cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public virtual System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags);
public 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[]
member this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Overridable Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()
Public Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()

Parameters

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