Freigeben über


IVsCompoundAction.OpenCompoundAction(String) Method

Definition

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

public:
 int OpenCompoundAction(System::String ^ pszDescription);
public:
 int OpenCompoundAction(Platform::String ^ pszDescription);
int OpenCompoundAction(std::wstring const & pszDescription);
public int OpenCompoundAction (string pszDescription);
abstract member OpenCompoundAction : string -> int
Public Function OpenCompoundAction (pszDescription As String) As Integer

Parameters

pszDescription
String

Pointer to a null terminated string containing the description.

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::OpenCompoundAction(  
   [in] const WCHAR *pszDescription  
);  

Applies to