Android Guides | Samples

Java.Lang.Enum Constructor

Constructor for constants of enum subtypes.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
protected Enum (String name, Int32 ordinal)

Parameters

name
ordinal

Remarks

Constructor for constants of enum subtypes.

[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