Files.IsWritable(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 whether a file is writable.
[Android.Runtime.Register("isWritable", "(Ljava/nio/file/Path;)Z", "", ApiSince=26)]
public static bool IsWritable (Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("isWritable", "(Ljava/nio/file/Path;)Z", "", ApiSince=26)>]
static member IsWritable : Java.Nio.FileNio.IPath -> bool
Parameters
- path
- IPath
the path to the file to check
Returns
true if the file exists and is writable; false
if the file does not exist, write access would be denied because
the Java virtual machine has insufficient privileges, or access
cannot be determined
- Attributes
Remarks
Java documentation for java.nio.file.Files.isWritable(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.