File.Delete

public static void Delete(string path);

Parameters

path The name of the file to be deleted.

Description

Deletes the specified file.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答