Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


VsUndoPackageClass Class

Definition

Implements the linked undo stack feature. See IVsLinkedUndoTransactionManager.

C++/WinRT
[Windows::Foundation::Metadata::WebHostHidden]
class VsUndoPackageClass : Microsoft::VisualStudio::TextManager::Interop::VsUndoPackage
Inheritance
VsUndoPackageClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsUndoPackageClass()

Creates a new instance of the class.

Methods

AbortLinkedUndo()

Aborts a linked undo transaction.

CloseLinkedUndo()

Successfully closes a linked undo transaction.

CountOpenTransactions(Int32)

Returns the nesting level of the linked undo transactions.

IsAborted(Int32)

Determines if the linked undo transaction is aborted.

IsStrict(Int32)

Determines if the linked undo transaction is strict.

OpenLinkedUndo(UInt32, String)

Opens a linked undo transaction parent unit.

Applies to

Προϊόν Εκδόσεις
Visual Studio SDK 2015, 2017, 2019, 2022