DeleteFileAsync(string fileName) Method

Deletes the specified file if it exists.

Syntax

public abstract System.Threading.Tasks.Task DeleteFileAsync(string fileName)

Parameters

fileName
Type: string

The name of the file.