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

◆ DeleteDirectory()

void System.IO.IsolatedStorage.IsolatedStorageFile.DeleteDirectory ( string dir)
inline

Definition at line 176 of file IsolatedStorageFile.cs.

177 {
178 if (dir == null)
179 {
180 throw new ArgumentNullException("dir");
181 }
183 try
184 {
185 string fullPath = GetFullPath(dir);
186 Directory.Delete(fullPath, recursive: false);
187 }
188 catch (Exception rootCause)
189 {
191 }
192 }
static Exception GetIsolatedStorageException(string exceptionMsg, Exception rootCause)
static string IsolatedStorage_DeleteDirectory
Definition SR.cs:28
Definition SR.cs:7

References System.IO.Directory.Delete(), System.IO.IsolatedStorage.IsolatedStorageFile.EnsureStoreIsValid(), System.IO.IsolatedStorage.IsolatedStorageFile.GetFullPath(), System.IO.IsolatedStorage.IsolatedStorageFile.GetIsolatedStorageException(), and System.SR.IsolatedStorage_DeleteDirectory.