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

◆ CopyFile() [1/2]

void System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile ( string sourceFileName,
string destinationFileName )
inline

Definition at line 327 of file IsolatedStorageFile.cs.

328 {
329 if (sourceFileName == null)
330 {
331 throw new ArgumentNullException("sourceFileName");
332 }
333 if (destinationFileName == null)
334 {
335 throw new ArgumentNullException("destinationFileName");
336 }
337 if (sourceFileName.Length == 0)
338 {
339 throw new ArgumentException(System.SR.Argument_EmptyPath, "sourceFileName");
340 }
341 if (destinationFileName.Length == 0)
342 {
343 throw new ArgumentException(System.SR.Argument_EmptyPath, "destinationFileName");
344 }
345 CopyFile(sourceFileName, destinationFileName, overwrite: false);
346 }
void CopyFile(string sourceFileName, string destinationFileName)
static string Argument_EmptyPath
Definition SR.cs:38
Definition SR.cs:7

References System.SR.Argument_EmptyPath, and System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile().

Referenced by System.IO.IsolatedStorage.IsolatedStorageFile.CopyFile().