Android Guides | Samples

Java.Lang.Enum.Name Method

Returns the name of this enum constant.

Syntax

[Android.Runtime.Register("name", "()Ljava/lang/String;", "")]
public String Name ()

Remarks

Returns the name of this enum constant. The name is the field as it appears in the enum declaration.

[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