IPersistDictionary::Save

This method should save data to a Dictionary object.

Definition

HRESULT Save(IDispatch*pdispDict,longfSameAsLoad);

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 Values

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.

See Also

IPersistDictionary Interface

IPersistDictionary::Load


All rights reserved.