IPersistMoniker::SaveIPersistMoniker::Save*
*Contents  *Index  *Topic Contents
*Previous Topic: IPersistMoniker::Load
*Next Topic: IPersistMoniker::SaveCompleted

IPersistMoniker::Save

HRESULT Save(
    [in] IMoniker *pmkDst,
    [in] IBindCtx *pbc,
    [in] BOOL fRemember
);

Requests that the object save itself to the location referred to by the pmkDst parameter.

pmkDst
Address of the moniker referencing the location where the object should persistently store itself.
pbc
Address of the IBindCtx interface for the bind context to be used for any moniker binding during this method.
fRemember
Indicator of whether pmkDst is to be used as the reference to the current persistent state after the save. If TRUE, pmkDst becomes the reference to the current persistent state, and the object should clear its dirty flag after the save. If FALSE, this save operation is a "Save A Copy As ..." operation. In this case, the reference to the current persistent state is unchanged, and the object should not clear its dirty flag. If pmkDst is NULL, the implementation should ignore the fRemember flag.

See also IPersistMoniker::GetCurMoniker, IPersistMoniker::Load, IPersistMoniker::SaveCompleted


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.