Språk

RowIdLifetime.ValueOf(String) Method

Definition

Returns the enum constant whose Java name exactly matches the specified name.

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

Parameters

name
String

The Java enum constant name, such as ROWID_UNSUPPORTED.

Returns

the enum constant with the specified name

Attributes

Remarks

The name must match the Java enum constant name, not the managed property name. For example, use ROWID_UNSUPPORTED for RowidUnsupported. Extra whitespace characters are not permitted.

Java reference for java.sql.RowIdLifetime.valueOf.

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