When implemented by a subclass, this method selects a method to invoke from the given set of methods, based on the specified criteria.
[Visual Basic] MustOverride Public Function BindToMethod( _ ByVal bindingAttr As BindingFlags, _ ByVal match() As MethodBase, _ ByRef args() As Object, _ ByVal modifiers() As ParameterModifier, _ ByVal culture As CultureInfo, _ ByVal names() As String _ ) As MethodBase [C#] public abstract MethodBase BindToMethod( BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] names ); [C++] public: virtual MethodBase* BindToMethod( BindingFlags bindingAttr, MethodBase* match[], Object** args[], ParameterModifier* modifiers[], CultureInfo* culture, String* names[] ) = 0; [JScript] public abstract function BindToMethod( bindingAttr : BindingFlags, match : MethodBase[], args : Object[], modifiers : ParameterModifier[], culture : CultureInfo, names : String[] ) : MethodBase;
Returns a MethodBase object containing the matching method.
[To be supplied.]
Binder Class | Binder Members | System.Reflection Namespace | MethodBase