Freigeben über


VsUndoPackageClass.OpenLinkedUndo(UInt32, String) Method

Definition

Opens a linked undo transaction parent unit.

public:
 virtual int OpenLinkedUndo(System::UInt32 dwFlags, System::String ^ pszDescription) = Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager::OpenLinkedUndo;
public:
 virtual int OpenLinkedUndo(System::UInt32 dwFlags, System::String ^ pszDescription);
public:
 virtual int OpenLinkedUndo(unsigned int dwFlags, Platform::String ^ pszDescription) = Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager::OpenLinkedUndo;
 virtual int OpenLinkedUndo(unsigned int dwFlags, std::wstring const & pszDescription);
public virtual int OpenLinkedUndo (uint dwFlags, string pszDescription);
abstract member OpenLinkedUndo : uint32 * string -> int
override this.OpenLinkedUndo : uint32 * string -> int
Public Overridable Function OpenLinkedUndo (dwFlags As UInteger, pszDescription As String) As Integer

Parameters

dwFlags
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
String

[in] Localized string that describes this action; appears in the undo/redo dropdown menus. This value may not be null.

Returns

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

Implements

Applies to