Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DeleteFile()

void System.IO.IsolatedStorage.IsolatedStorageFile.DeleteFile ( string file)
inline

Definition at line 116 of file IsolatedStorageFile.cs.

117 {
118 if (file == null)
119 {
120 throw new ArgumentNullException("file");
121 }
123 try
124 {
125 string fullPath = GetFullPath(file);
126 File.Delete(fullPath);
127 }
128 catch (Exception rootCause)
129 {
131 }
132 }
static Exception GetIsolatedStorageException(string exceptionMsg, Exception rootCause)
static string IsolatedStorage_DeleteFile
Definition SR.cs:24
Definition SR.cs:7

References System.IO.File.Delete(), System.IO.IsolatedStorage.IsolatedStorageFile.EnsureStoreIsValid(), System.IO.IsolatedStorage.IsolatedStorageFile.GetFullPath(), System.IO.IsolatedStorage.IsolatedStorageFile.GetIsolatedStorageException(), and System.SR.IsolatedStorage_DeleteFile.