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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za