IPersistDictionary::Save Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This method should save data to a Dictionary object.
HRESULT Save(
IDispatch* pdispDict,
Long fSameAsLoad
);
Parameters
pdispDict
[in] A pointer to the IDictionary interface of the Dictionary object in which the data should be saved.fSameAsLoad
[in] A long that is set to TRUE if the Dictionary object pointed to by the pdispDict parameter is the same as the one from which the persisted values of the component were loaded.
Return Value
This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.
Remarks
The object typically uses the put_Value method on the IDictionary interface to save VARIANT values. For more information about the IDictionary interface, see Dictionary Object.