The IPersistFile interface of the com.ms.com package permits an object to be loaded from or saved to a disk file, rather than a storage object or stream. Because the information needed to open a file varies greatly from one application to another, the implementation of Load on the object must also open its disk file.
The IPersistFile interface inherits its definition from IPersist, so all implementations must also include IPersist.GetClassID.
Note The IPersistFile interface was added as of versions 2925 through 3167 of the Microsoft virtual machine.
public interface IPersistFile extends IPersist { // Methods public boolean IsDirty(); public void Load(String pszFileName, int dwMode); public void Save(String pszFileName, int fRemember); public void SaveCompleted(String pszFileName); public void GetCurFile(String[] ppszFileName); } IUnknown | +--IPersist | | | +--IPersistFile