M&M FDT 1.2.1 Online Specification
 IPersistPropertyBag::Save() method information


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

2.7.2 IPersistPropertyBag::Save()


This method can be called in the states:            

HRESULT Save (
[in] IPropertyBag* pPropBag,
[in] BOOL fClearDirty,
[in] BOOL fSaveAllProperties
);


Description:


Parameters:
pPropBagAddress of the caller's property bag, through which the object can write properties. This cannot be NULL.
fClearDirtyFlag indicating whether the object should clear its dirty flag when saving is complete. TRUE means clear the flag, and FALSE means leave the flag unaffected. FALSE is used when the caller wants to do a 'Save Copy As' operation.
fSaveAllPropertiesFlag indicating whether the object should save all its properties (TRUE) or only those that have changed from the default value (FALSE).


Return Value:


Behavior:
Instructs the object to save its properties to the given property bag, optionally clearing the object's dirty flag

Comments:
The caller can request that the object save all properties or only those that are known to have changed. E_NOTIMPL is not a valid return code because any object implementing this interface must support the entire functionality of the interface.




© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.