Android.Content.Context.DeleteFile Method
Delete the given private file associated with this Context's application package.

Syntax

[Android.Runtime.Register("deleteFile", "(Ljava/lang/String;)Z", "GetDeleteFile_Ljava_lang_String_Handler")]
public abstract bool DeleteFile (string name)

See Also

Context.OpenFileInput(string)
Context.OpenFileOutput(string, Android.Content.FileCreationMode)
Context.FileList
Java.IO.File.Delete

Parameters

name
The name of the file to delete; can not contain path separators.

Returns

Documentation for this section has not yet been entered.

Remarks

Delete the given private file associated with this Context's application package.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1