Partager via


IVsPersistDocData.IsDocDataDirty(Int32) Method

Definition

Determines whether the document data has changed since the last save.

public:
 int IsDocDataDirty([Runtime::InteropServices::Out] int % pfDirty);
int IsDocDataDirty([Runtime::InteropServices::Out] int & pfDirty);
public int IsDocDataDirty (out int pfDirty);
abstract member IsDocDataDirty : int -> int
Public Function IsDocDataDirty (ByRef pfDirty As Integer) As Integer

Parameters

pfDirty
Int32

[out] true if the document data has been changed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData::IsDocDataDirty(  
   [out] BOOL *pfDirty  
);  

Applies to