Class.GetDeclaredMethod(String, Class[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Method
object that reflects the specified
declared method of the class or interface represented by this
Class
object.
[Android.Runtime.Register("getDeclaredMethod", "(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;", "")]
public Java.Lang.Reflect.Method GetDeclaredMethod (string name, params Java.Lang.Class[]? parameterTypes);
[<Android.Runtime.Register("getDeclaredMethod", "(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;", "")>]
member this.GetDeclaredMethod : string * Java.Lang.Class[] -> Java.Lang.Reflect.Method
Parameters
- name
- String
the name of the method
- parameterTypes
- Class[]
the parameter array
Returns
the Method
object for the method of this class
matching the specified name and parameters
- Attributes
Remarks
Java documentation for java.lang.Class.getDeclaredMethod(java.lang.String, java.lang.Class)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.