FileSystemProvider.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", "GetIsSameFile_Ljava_nio_file_Path_Ljava_nio_file_Path_Handler", ApiSince=26)]
public abstract 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", "GetIsSameFile_Ljava_nio_file_Path_Ljava_nio_file_Path_Handler", ApiSince=26)>]
abstract 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
Tests if two paths locate the same file. This method works in exactly the manner specified by the Files#isSameFile
method.
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.