URL.ToExternalForm Method

Definition

Constructs a string representation of this URL.

[Android.Runtime.Register("toExternalForm", "()Ljava/lang/String;", "")]
public string? ToExternalForm ();
[<Android.Runtime.Register("toExternalForm", "()Ljava/lang/String;", "")>]
member this.ToExternalForm : unit -> string

Returns

a string representation of this object.

Attributes

Remarks

Constructs a string representation of this URL. The string is created by calling the toExternalForm method of the stream protocol handler for this object.

Java documentation for java.net.URL.toExternalForm().

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