IVsCompoundAction.CloseCompoundAction Method

Definition

Closes a compound action and sets the endpoint of a set of actions to be grouped in a single undo/redo unit.

public:
 int CloseCompoundAction();
public:
 int CloseCompoundAction();
int CloseCompoundAction();
public int CloseCompoundAction ();
abstract member CloseCompoundAction : unit -> int
Public Function CloseCompoundAction () 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 IVsCompoundAction::CloseCompoundAction();  

Applies to