TemporaryFileHelper.Delete method (1 of 2)
namespace: Serenity.IO assembly: Serenity.Net.Core
Deletes a file.
public static void Delete(string filePath)
parameter | description |
---|---|
filePath | File to be deleted (can be null). |
See Also
- class TemporaryFileHelper
TemporaryFileHelper.Delete method (2 of 2)
namespace: Serenity.IO assembly: Serenity.Net.Core
Deletes, tries to delete or marks a file for deletion depending on type.
public static void Delete(string filePath, DeleteType type)
parameter | description |
---|---|
filePath | File to be deleted (can be null). |
type | Delete type. |
See Also
- enum DeleteType
- class TemporaryFileHelper