Java.Lang.Class: Property Members

The properties of Java.Lang.Class are listed below. For a list of all members, see the Class Members list.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
CanonicalNamestring. Returns the canonical name of this class.
[read-only]
ClassLoaderClassLoader. Returns the class loader which was used to load the class represented by this Class.
[read-only]
ComponentTypeClass. Returns a Class object which represents the component type if this class represents an array type.
[read-only]
DeclaringClassClass. Returns the class that this class is a member of, or null if this class is a top-level class, a primitive, an array, or defined within a method or constructor.
[read-only]
EnclosingClassClass. Returns the class enclosing this class.
[read-only]
EnclosingConstructorJava.Lang.Reflect.Constructor. Returns the enclosing Constructor of this Class, if it is an anonymous or local/automatic class; otherwise null.
[read-only]
EnclosingMethodJava.Lang.Reflect.Method. Returns the enclosing Method of this Class, if it is an anonymous or local/automatic class; otherwise null.
[read-only]
GenericSuperclassJava.Lang.Reflect.IType. Returns the Type that represents the superclass of this class.
[read-only]
IsAnnotationbool. Tests whether this Class represents an annotation class.
[read-only]
IsAnonymousClassbool. Tests whether the class represented by this Class is anonymous.
[read-only]
IsArraybool. Tests whether the class represented by this Class is an array class.
[read-only]
IsEnumbool. Tests whether the class represented by this Class is an enum.
[read-only]
IsInterfacebool. Tests whether this Class represents an interface.
[read-only]
IsLocalClassbool. Tests whether the class represented by this Class is defined locally.
[read-only]
IsMemberClassbool. Tests whether the class represented by this Class is a member class.
[read-only]
IsPrimitivebool. Tests whether this Class represents a primitive type.
[read-only]
IsSyntheticbool. Tests whether this Class represents a synthetic type.
[read-only]
Modifiersint. Returns an integer that represents the modifiers of the class represented by this Class.
[read-only]
Namestring. Returns the name of the class represented by this Class.
[read-only]
PackagePackage. Returns the Package of which the class represented by this Class is a member.
[read-only]
ProtectionDomainJava.Security.ProtectionDomain. Returns null.
[read-only]
SimpleNamestring. Returns the simple name of the class represented by this Class as defined in the source code.
[read-only]
SuperclassClass. Returns the Class object which represents the superclass of the class represented by this Class.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.