AccessibleObject.IReflect.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.
Gets an array of MethodInfo objects with all public methods or all methods of the current class. For a description of this member, see GetMethods(BindingFlags).
virtual cli::array <System::Reflection::MethodInfo ^> ^ System.Reflection.IReflect.GetMethods(System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetMethods;
System.Reflection.MethodInfo[] IReflect.GetMethods (System.Reflection.BindingFlags bindingAttr);
abstract member System.Reflection.IReflect.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.System.Reflection.IReflect.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Function GetMethods (bindingAttr As BindingFlags) As MethodInfo() Implements IReflect.GetMethods
Parameters
- bindingAttr
- BindingFlags
The binding attributes used to control the search.
Returns
An array of MethodInfo objects containing all the methods defined for this reflection object that meet the search constraints specified in bindingAttr
.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IReflect interface.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour