共用方式為


URI.RawAuthority Property

Definition

Returns the raw authority component of this URI.

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

Property Value

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

Attributes

Remarks

Returns the raw authority component of this URI.

The authority component of a URI, if defined, only contains the commercial-at character ('@') and characters in the unreserved, punct, escaped, and other categories. If the authority is server-based then it is further constrained to have valid user-information, host, and port components.

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

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