Java.IO.File.ToURL Method
Returns a Uniform Resource Locator for this file.

Syntax

[Android.Runtime.Register("toURL", "()Ljava/net/URL;", "GetToURLHandler")]
[System.Obsolete("deprecated")]
public virtual Java.Net.URL ToURL ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.MalformedURLExceptionif the path cannot be transformed into a URL.

Remarks

Returns a Uniform Resource Locator for this file. The URL is system dependent and may not be transferable between different operating / file systems.

[Android Documentation]

Requirements

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