The IPersistStream interface has the following methods:
IsDirty checks the object for changes since it was last saved.
Load initializes an object from the stream where it was previously saved.
Save saves an object into the specified stream and indicates whether the object should reset its dirty flag.
GetSizeMax returns the size in bytes of the stream needed to save the object.