SaveFile() public method

public SaveFile ( VolumeFile volumeFile ) : VolumeFile
volumeFile VolumeFile
return VolumeFile
Example #1
0
 protected bool CopyFile(VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume,
     bool verifyFreeSpace)
 {
     return targetVolume.SaveFile(destinationPath, volumeFile.ReadAll(), verifyFreeSpace) != null;
 }
Example #2
0
 protected bool CopyFile(VolumeFile volumeFile, GlobalPath destinationPath, Volume targetVolume,
                         bool verifyFreeSpace)
 {
     return(targetVolume.SaveFile(destinationPath, volumeFile.ReadAll(), verifyFreeSpace) != null);
 }