Android Guides | Samples

Java.Lang.Class.GetClasses Method

Returns an array containing Class objects for all public classes, interfaces, enums and annotations that are members of this class and its superclasses.

Syntax

[Android.Runtime.Register("getClasses", "()[Ljava/lang/Class;", "")]
public Class[] GetClasses ()

Remarks

Returns an array containing Class objects for all public classes, interfaces, enums and annotations that are members of this class and its superclasses. This does not include classes of implemented interfaces. If there are no such class members or if this object represents a primitive type then an array of length 0 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