ClientInfoStatus.ValueOf(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the enum constant whose Java name exactly matches the specified name.
[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/sql/ClientInfoStatus;", "")]
public static Java.Sql.ClientInfoStatus? ValueOf(string? name);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/sql/ClientInfoStatus;", "")>]
static member ValueOf : string -> Java.Sql.ClientInfoStatus
Parameters
- name
- String
The Java enum constant name, such as REASON_UNKNOWN.
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 REASON_UNKNOWN for ReasonUnknown. Extra whitespace characters are not permitted.
Java reference for java.sql.ClientInfoStatus.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.