Uredi

Deli z drugimi prek


AccessibleObject.IReflect.GetMethods(BindingFlags) Method

Definition

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