Android Guides | Samples

Java.Lang.Enum.ValueOf Method

Syntax

[Android.Runtime.Register("valueOf", "(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;", "")]
public static Object ValueOf (Class enumType, String name)

Parameters

enumType
name

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1