Android Guides | Samples

Java.Lang.Class.Superclass Property

Returns the Class object which represents the superclass of the class represented by this Class.

Syntax

[get: Android.Runtime.Register("getSuperclass", "()Ljava/lang/Class;", "GetGetSuperclassHandler")]
public Class Superclass { get; }

Remarks

Returns the Class object which represents the superclass of the class represented by this Class. If this Class represents the Object class, a primitive type, an interface or void then the method returns null. If this Class represents an array class then the Object class 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