IVsCompoundAction::OpenCompoundAction Method (String^)

 

Opens a compound action and sets the starting point of a set of actions to be grouped in a single undo/redo unit.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int OpenCompoundAction(
	String^ pszDescription
)

Parameters

pszDescription
Type: System::String^

Pointer to a null terminated string containing the description.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsCompoundAction::OpenCompoundAction(
   [in] const WCHAR *pszDescription
);
Return to top
Show: