Files.Delete(IPath) Method

Definition

Deletes a file.

[Android.Runtime.Register("delete", "(Ljava/nio/file/Path;)V", "", ApiSince=26)]
public static void Delete (Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("delete", "(Ljava/nio/file/Path;)V", "", ApiSince=26)>]
static member Delete : Java.Nio.FileNio.IPath -> unit

Parameters

path
IPath

the path to the file to delete

Attributes

Remarks

Java documentation for java.nio.file.Files.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.

Applies to