Udostępnij za pośrednictwem


URLStreamHandler.ToExternalForm(URL) Method

Definition

Converts a URL of a specific protocol to a String.

[Android.Runtime.Register("toExternalForm", "(Ljava/net/URL;)Ljava/lang/String;", "GetToExternalForm_Ljava_net_URL_Handler")]
protected virtual string? ToExternalForm (Java.Net.URL? u);
[<Android.Runtime.Register("toExternalForm", "(Ljava/net/URL;)Ljava/lang/String;", "GetToExternalForm_Ljava_net_URL_Handler")>]
abstract member ToExternalForm : Java.Net.URL -> string
override this.ToExternalForm : Java.Net.URL -> string

Parameters

u
URL

the URL.

Returns

a string representation of the URL argument.

Attributes

Remarks

Converts a URL of a specific protocol to a String.

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

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

See also

  • <xref:Java.Net.URLStreamHandler.ParseURL(Java.Net.URL%2c+System.String%2c+System.String%2c+System.String)>
  • ToExternalForm()