# IPersistMoniker::IsDirty

Checks an object for changes since it was last saved.

HRESULT IsDirty(void);

Return Values

S_OK
  The object has changed since it was last saved.
S_FALSE
  The object has not changed since the last save.

Remarks

IPersistMoniker::IsDirty checks whether an object has changed since it was last saved so you can avoid losing information in objects that have not yet been saved.

See Also

IPersistMoniker::Save