FileSystemProvider.Delete(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.
Deletes a file.
[Android.Runtime.Register("delete", "(Ljava/nio/file/Path;)V", "GetDelete_Ljava_nio_file_Path_Handler", ApiSince=26)]
public abstract void Delete (Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("delete", "(Ljava/nio/file/Path;)V", "GetDelete_Ljava_nio_file_Path_Handler", ApiSince=26)>]
abstract member Delete : Java.Nio.FileNio.IPath -> unit
Parameters
- path
- IPath
the path to the file to delete
- Attributes
Remarks
Deletes a file. This method works in exactly the manner specified by the Files#delete
method.
Java documentation for java.nio.file.spi.FileSystemProvider.delete(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.