VsUndoPackageClass::OpenLinkedUndo Method (UInt32, String^)
Visual Studio 2015
Opens a linked undo transaction parent unit.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- dwFlags
-
Type:
System::UInt32
[in] Value taken from the LinkedTransactionFlags enumeration. mdtDefault specifies the transaction to be nonstrict, which is default behavior. The other possible enum value is mdtStrict that specifies the undo linking behavior as strict.
- pszDescription
-
Type:
System::String^
[in] Localized string that describes this action; appears in the undo/redo dropdown menus. This value may not be null.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: