ModuleBuilder.GetMethods(BindingFlags) Metoda

Definice

Vrátí všechny metody, které byly definovány na úrovni modulu pro aktuální ModuleBuildera které odpovídají zadaným příznakům vazby.

public:
 override cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Methods might be removed")]
public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags);
public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Methods might be removed")>]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Overrides Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()

Parametry

bindingFlags
BindingFlags

Kombinace bitových BindingFlags příznaků používaných k řízení hledání.

Návraty

Pole, které obsahuje všechny metody na úrovni modulu, které odpovídají bindingFlags.

Atributy

Poznámky

Metody na úrovni modulu jsou definovány v generovaném kódu pomocí DefineGlobalMethod metody.

Important

Metody na úrovni modulu nelze načíst až po CreateGlobalFunctions zavolání metody pro modul.

Platí pro