TextStyle.ValueOf(String) Method

Definition

Returns the enum constant with the specified name.

[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/time/format/TextStyle;", "", ApiSince=26)]
public static Java.Time.Format.TextStyle? ValueOf(string? name);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/time/format/TextStyle;", "", ApiSince=26)>]
static member ValueOf : string -> Java.Time.Format.TextStyle

Parameters

name
String

the name of the enum constant to be returned

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