PyIPersistStorage.Save

Save(PyIStorage, int)

Saves an object, and any nested objects that it contains, into the specified storage. The object is placed in NoScribble mode, and it must not write to the specified storage until it receives a call to its PyIPersistStorage::SaveCompleted method.

Parameters

PyIStorage : PyIStorage

Storage for the object

int : fSameAsLoad

Indicates whether the specified storage object is the current one.
This parameter is set to FALSE when performing a Save As or Save A Copy To operation or when performing a full save. In the latter case, this method saves to a temporary file, deletes the original file, and renames the temporary file.
This parameter is set to TRUE to perform a full save in a low-memory situation or to perform a fast incremental save in which only the dirty components are saved.