다음을 통해 공유


FileSystemProvider.Delete(IPath) Method

Definition

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.

Applies to