Files.NotExists(IPath, LinkOption[]) 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 whether the file located by this path does not exist.
[Android.Runtime.Register("notExists", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z", "", ApiSince=26)]
public static bool NotExists (Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("notExists", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z", "", ApiSince=26)>]
static member NotExists : Java.Nio.FileNio.IPath * Java.Nio.FileNio.LinkOption[] -> bool
Parameters
- path
- IPath
the path to the file to test
- options
- LinkOption[]
options indicating how symbolic links are handled
Returns
true
if the file does not exist; false
if the
file exists or its existence cannot be determined
- Attributes
Remarks
Java documentation for java.nio.file.Files.notExists(java.nio.file.Path, java.nio.file.LinkOption)
.
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.