Sdílet prostřednictvím


DataViewBrowseObject.IReflect.GetMethods(BindingFlags) Method

Definition

Retrieves all the methods defined for the type of the current instance, using the specified binding constraints.

 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

A bitmask made up of one or more BindingFlags that specify how the search is conducted, or zero to return an empty array.

Returns

An array of MethodInfo objects representing all the methods defined for the type of the current instance that match the specified binding constraints. If no methods are defined for the type of the current instance, or if none of the defined methods match the binding constraints, returns an empty array of type MethodInfo.

Implements

Applies to