Android Guides | Samples

Java.Lang.Class.CanonicalName Property

Returns the canonical name of this class.

Syntax

[get: Android.Runtime.Register("getCanonicalName", "()Ljava/lang/String;", "GetGetCanonicalNameHandler")]
public String CanonicalName { get; }

Remarks

Returns the canonical name of this class. If this class does not have a canonical name as defined in the Java Language Specification, then the method returns null.

[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