Partilhar via


IPersistStreamInit::IsDirty Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This method should report whether the values of an object have changed since they were last saved. It returns the value of the IsDirty flag of the object. The flag should be cleared by the object in its implementation of the IPersistStreamInit::Save method.

HRESULT IsDirty(void);

Parameters

None.

Return Value

This method must return the HRESULT value S_OK to indicate that the data has changed, and must return a value of S_FALSE to indicate that the data has not changed since the last Save operation.

See Also

Other Resources

IPersistStreamInit Interface