IPersistFileFormat.IsDirty(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether an object has changed since being saved to its current file.
public:
int IsDirty([Runtime::InteropServices::Out] int % pfIsDirty);
int IsDirty([Runtime::InteropServices::Out] int & pfIsDirty);
public int IsDirty (out int pfIsDirty);
abstract member IsDirty : int -> int
Public Function IsDirty (ByRef pfIsDirty As Integer) As Integer
Parameters
- pfIsDirty
- Int32
[out] true
if the document content changed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From fpstfmt.idl:
HRESULT IPersistFileFormat::IsDirty(
[out] BOOL *pfIsDirty
);