URL.SameFile(URL) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two URLs, excluding the fragment component.
[Android.Runtime.Register("sameFile", "(Ljava/net/URL;)Z", "")]
public bool SameFile (Java.Net.URL? other);
[<Android.Runtime.Register("sameFile", "(Ljava/net/URL;)Z", "")>]
member this.SameFile : Java.Net.URL -> bool
Parameters
- other
- URL
the URL
to compare against.
Returns
true
if they reference the same remote object;
false
otherwise.
- Attributes
Remarks
Compares two URLs, excluding the fragment component.
Returns true
if this URL
and the other
argument are equal without taking the fragment component into consideration.
Java documentation for java.net.URL.sameFile(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.