Finds the given method through reflection.
[Visual Basic] Protected Shared Function FindMethod( _ ByVal componentClass As Type, _ ByVal name As String, _ ByVal args() As Type, _ ByVal returnType As Type _ ) As MethodInfo [C#] protected static MethodInfo FindMethod( Type componentClass, string name, Type[] args, Type returnType ); [C++] protected: static MethodInfo* FindMethod( Type* componentClass, String* name, Type* args[], Type* returnType ); [JScript] protected static function FindMethod( componentClass : Type, name : String, args : Type[], returnType : Type ) : MethodInfo;
A MethodInfo that represents the method. If the method is not found, a null reference (in Visual Basic Nothing) is returned.
MemberDescriptor Class | MemberDescriptor Members | System.ComponentModel Namespace