共用方式為


URI.Fragment Property

Definition

Returns the decoded fragment component of this URI.

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

Property Value

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

Attributes

Remarks

Returns the decoded fragment component of this URI.

The string returned by this method is equal to that returned by the #getRawFragment() getRawFragment method except that all sequences of escaped octets are decoded.

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

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