Class.Superclass Property
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 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 Class 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 Class 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.