Edit

Share via


TypeDelegator.GetMethods(BindingFlags) Method

Definition

Returns an array of MethodInfo objects representing specified methods of the type wrapped by the current TypeDelegator.

public:
 override cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingAttr);
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr);
public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr);
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)>]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Overrides Function GetMethods (bindingAttr As BindingFlags) As MethodInfo()

Parameters

bindingAttr
BindingFlags

A bitmask that affects the way in which the search is conducted. The value is a combination of zero or more bit flags from BindingFlags.

Returns

An array of MethodInfo objects representing the methods defined on this TypeDelegator.

Attributes

Applies to