共用方式為


IVsChangeTrackingUndoManager.MarkCleanState Method

Definition

Tells the Undo Manager that an unmodified state has been reached, for example, following a Save operation.

public:
 int MarkCleanState();
public:
 int MarkCleanState();
int MarkCleanState();
public int MarkCleanState ();
abstract member MarkCleanState : unit -> int
Public Function MarkCleanState () As Integer

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::MarkCleanState();  

Applies to