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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈