Udostępnij za pośrednictwem


Uri.Parse(String) Method

Definition

Creates a Uri which parses the given encoded URI string.

[Android.Runtime.Register("parse", "(Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? Parse (string? uriString);
[<Android.Runtime.Register("parse", "(Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member Parse : string -> Android.Net.Uri

Parameters

uriString
String

an RFC 2396-compliant, encoded URI

Returns

Uri

Uri for this given uri string

Attributes

Exceptions

if uriString is null

Remarks

Creates a Uri which parses the given encoded URI string.

Java documentation for android.net.Uri.parse(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