Share via


IVsChangeTrackingUndoManager.QueryCleanState(Int32) Method

Definition

Determines whether the document is in an unmodified state.

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

Parameters

pfClean
Int32

[out] true indicates the document is in an unmodified state.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsChangeTrackingUndoManager::QueryCleanState(  
   [out] BOOL *pfClean  
);  

Applies to