Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Enables 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 IPersistFile::Load on the object must also open its disk file.
The IPersistFile interface inherits from IPersist. IPersistFile also has these types of members:
The IPersistFile interface has these methods.
IPersistFile::GetCurFile Retrieves the current name of the file associated with the object. If there is no current working file, this method retrieves the default save prompt for the object. |
IPersistFile::IsDirty Determines whether an object has changed since it was last saved to its current file. |
IPersistFile::Load Opens the specified file and initializes an object from the file contents. |
IPersistFile::Save Saves a copy of the object to the specified file. |
IPersistFile::SaveCompleted Notifies the object that it can write to its file. |
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | objidl.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today