Enum.ValueOf(Class, String) Enum.ValueOf(Class, String) Method

Definition

[Android.Runtime.Register("valueOf", "(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends java.lang.Enum<T>" })]
public static Java.Lang.Object ValueOf (Java.Lang.Class enumType, string name);
static member ValueOf : Java.Lang.Class * string -> Java.Lang.Object

Parameters

enumType
Class Class
name
String String

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to