ModuleBuilder.GetMethods(BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all the methods that have been defined at the module level for the current ModuleBuilder, and that match the specified binding flags.
public:
override cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public override System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags);
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Overrides Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()
Parameters
- bindingFlags
- BindingFlags
A combination of BindingFlags
bit flags used to control the search.
Returns
An array that contains all the module-level methods that match bindingFlags
.
Remarks
Module-level methods are defined in emitted code by using the DefineGlobalMethod method.
Important
Module-level methods cannot be retrieved until after the CreateGlobalFunctions method has been called for the module.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om