Compartir a través de


IPersistFileFormat.IsDirty(Int32) Method

Definition

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  
);  

Applies to