Android Guides | Samples

Java.Lang.Class.GetDeclaredMethods Method

Returns an array containing Method objects for all methods declared in the class represented by this Class.

Syntax

[Android.Runtime.Register("getDeclaredMethods", "()[Ljava/lang/reflect/Method;", "")]
public Method[] GetDeclaredMethods ()

See Also

Remarks

Returns an array containing Method objects for all methods declared in the class represented by this Class. If there are no methods or if this Class represents an array class, a primitive type or void then an empty array is returned.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1