Java.Net.URLStreamHandler.SetURL Method
Sets the fields of the URL u to the values of the supplied arguments.

Syntax

[Android.Runtime.Register("setURL", "(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetSetURL_Ljava_net_URL_Ljava_lang_String_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
protected virtual void SetURL (URL u, string protocol, string host, int port, string file, string ref)

Parameters

u
the non-null URL object to be set.
protocol
the protocol.
host
the host name.
port
the port number.
file
the file component.
ref
the reference.

Remarks

Sets the fields of the URL u to the values of the supplied arguments.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1