Files.IsSameFile(IPath, IPath) 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.
Tests if two paths locate the same file.
[Android.Runtime.Register("isSameFile", "(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z", "", ApiSince=26)]
public static bool IsSameFile (Java.Nio.FileNio.IPath? path, Java.Nio.FileNio.IPath? path2);
[<Android.Runtime.Register("isSameFile", "(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z", "", ApiSince=26)>]
static member IsSameFile : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IPath -> bool
Parameters
- path
- IPath
one path to the file
- path2
- IPath
the other path
Returns
true if, and only if, the two paths locate the same file
- Attributes
Remarks
Java documentation for java.nio.file.Files.isSameFile(java.nio.file.Path, java.nio.file.Path).
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.