共用方式為


URI.RawPath Property

Definition

Returns the raw path component of this URI.

public string? RawPath { [Android.Runtime.Register("getRawPath", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getRawPath", "()Ljava/lang/String;", "")>]
member this.RawPath : string

Property Value

The path component of this URI, or null if the path is undefined

Attributes

Remarks

Returns the raw path component of this URI.

The path component of a URI, if defined, only contains the slash character ('/'), the commercial-at character ('@'), and characters in the unreserved, punct, escaped, and other categories.

Java documentation for java.net.URI.getRawPath().

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