Upravit

Sdílet prostřednictvím


IPersistStorage interface (objidl.h)

Enables a container application to pass a storage object to one of its contained objects and to load and save the storage object. This interface supports the structured storage model, in which each contained object has its own storage that is nested within the container's storage.

Inheritance

The IPersistStorage interface inherits from IPersist. IPersistStorage also has these types of members:

Methods

The IPersistStorage interface has these methods.

 
IPersistStorage::HandsOffStorage

Instructs the object to release all storage objects that have been passed to it by its container and to enter HandsOff mode.
IPersistStorage::InitNew

Initializes a new storage object.
IPersistStorage::IsDirty

Determines whether an object has changed since it was last saved to its current storage.
IPersistStorage::Load

Loads an object from its existing storage.
IPersistStorage::Save

Saves an object, and any nested objects that it contains, into the specified storage object. The object enters NoScribble mode.
IPersistStorage::SaveCompleted

Notifies the object that it can write to its storage object.

Requirements

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

See also

OleCreate

OleLoad

OleSave