Class.Superclass Property

Definition

Returns the Class representing the direct superclass of the entity (class, interface, primitive type or void) represented by this Class.

public Java.Lang.Class? Superclass { [Android.Runtime.Register("getSuperclass", "()Ljava/lang/Class;", "")] get; }
[<get: Android.Runtime.Register("getSuperclass", "()Ljava/lang/Class;", "")>]
member this.Superclass : Java.Lang.Class

Property Value

the direct superclass of the class represented by this object

Attributes

Remarks

Returns the Class representing the direct superclass of the entity (class, interface, primitive type or void) represented by this Class. If this Class represents either the Object class, an interface, a primitive type, or void, then null is returned. If this object represents an array class then the Class object representing the Object class is returned.

Java documentation for java.lang.Class.getSuperclass().

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.

Applies to