VsUndoPackageClass::OpenLinkedUndo Method (UInt32, String^)

 

Opens a linked undo transaction parent unit.

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

public:
virtual int OpenLinkedUndo(
	unsigned int dwFlags,
	String^ pszDescription
)

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::Int32

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

Return to top
Show: