NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Binder.SelectMethod

When implemented by a subclass, this method selects a method from the given set of methods, based on the specified criteria.

[Visual Basic]
MustOverride Public Function SelectMethod( _
   ByVal bindingAttr As BindingFlags, _
   ByVal match() As MethodBase, _
   ByVal types() As Type, _
   ByVal modifiers() As ParameterModifier _
) As MethodBase
[C#]
public abstract MethodBase SelectMethod(
   BindingFlags bindingAttr,
   MethodBase[] match,
   Type[] types,
   ParameterModifier[] modifiers
);
[C++]
public: virtual MethodBase* SelectMethod(
   BindingFlags bindingAttr,
   MethodBase* match[],
   Type* types[],
   ParameterModifier* modifiers[]
) = 0;
[JScript]
public abstract function SelectMethod(
   bindingAttr : BindingFlags,
   match : MethodBase[],
   types : Type[],
   modifiers : ParameterModifier[]
) : MethodBase;

Parameters

bindingAttr
[To be supplied.]
match
The set of fields to locate a matching field.
types
The field value used to locate a matching field.
modifiers
[To be supplied.]

Return Value

Value Condition
A MethodBase object containing the matching method. A method matches the given criteria.
Null Otherwise.

Remarks

This method should return null if no method matches the criteria. This method controls the selection provided by the GetConstructor and GetMethod methods on Type.

See Also

Binder Class | Binder Members | System.Reflection Namespace