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

◆ CreateDirectory()

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

Definition at line 154 of file IsolatedStorageFile.cs.

155 {
156 if (dir == null)
157 {
158 throw new ArgumentNullException("dir");
159 }
161 string fullPath = GetFullPath(dir);
162 if (Directory.Exists(fullPath))
163 {
164 return;
165 }
166 try
167 {
168 Directory.CreateDirectory(fullPath);
169 }
170 catch (Exception rootCause)
171 {
173 }
174 }
static Exception GetIsolatedStorageException(string exceptionMsg, Exception rootCause)
static string IsolatedStorage_CreateDirectory
Definition SR.cs:26
Definition SR.cs:7

References System.IO.Directory.CreateDirectory(), System.IO.IsolatedStorage.IsolatedStorageFile.EnsureStoreIsValid(), System.IO.Directory.Exists(), System.IO.IsolatedStorage.IsolatedStorageFile.GetFullPath(), System.IO.IsolatedStorage.IsolatedStorageFile.GetIsolatedStorageException(), and System.SR.IsolatedStorage_CreateDirectory.