|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This method requests that the object save itself to a specified location.
HRESULT Save( IMoniker* pimkName, LPBC pbc, BOOL fRemember );
[in] Address of the IMonikerinterface that references the location where the object should persistently store itself.
[in] Address of the IBindCtxinterface for the bind context to be used for any moniker binding during this method.
[in] Boolean value that indicates whether pimkNameis to be used as the reference to the current persistent state after the save. If TRUE, pimkNamebecomes 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 pimkNameis NULL, the implementation should ignore the fRememberflag.
Returns S_OK if the object was successfully saved or E_INVALIDARG if one or more parameters are invalid.
|Windows Embedded CE||Windows CE .NET 4.0 and later|
|Windows Mobile||Pocket PC 2000 and later, Smartphone 2002 and later|