Android Guides | Samples

Java.Lang.Enum.DeclaringClass Property

Returns the enum constant's declaring class.

Syntax

[get: Android.Runtime.Register("getDeclaringClass", "()Ljava/lang/Class;", "GetGetDeclaringClassHandler")]
public Class DeclaringClass { get; }

Remarks

Returns the enum constant's declaring class.

[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