다음을 통해 공유


UUID.FromString(String) Method

Definition

Creates a UUID from the string standard representation as described in the #toString method.

[Android.Runtime.Register("fromString", "(Ljava/lang/String;)Ljava/util/UUID;", "")]
public static Java.Util.UUID? FromString (string? name);
[<Android.Runtime.Register("fromString", "(Ljava/lang/String;)Ljava/util/UUID;", "")>]
static member FromString : string -> Java.Util.UUID

Parameters

name
String

A string that specifies a UUID

Returns

A UUID with the specified value

Attributes

Exceptions

if uuid is null.

if uuid is not formatted correctly.

Remarks

Creates a UUID from the string standard representation as described in the #toString method.

Java documentation for java.util.UUID.fromString(java.lang.String).

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