ElementType.ValueOf(String) Method

Definition

Returns the enum constant of this type with the specified name.

[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/lang/annotation/ElementType;", "")]
public static Java.Lang.Annotation.ElementType? ValueOf(string? name);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/lang/annotation/ElementType;", "")>]
static member ValueOf : string -> Java.Lang.Annotation.ElementType

Parameters

name
String

The name of the enum constant to return.

Returns

The enum constant with the specified name.

Attributes

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