Sdílet prostřednictvím


ModelingDocStore.CreateUndoUnit(TransactionItem) Method

Definition

Create Undo Unit.

protected:
 virtual Microsoft::VisualStudio::Modeling::Shell::UndoUnit ^ CreateUndoUnit(Microsoft::VisualStudio::Modeling::TransactionItem ^ undoableTransaction);
protected virtual Microsoft.VisualStudio.Modeling.Shell.UndoUnit CreateUndoUnit (Microsoft.VisualStudio.Modeling.TransactionItem undoableTransaction);
abstract member CreateUndoUnit : Microsoft.VisualStudio.Modeling.TransactionItem -> Microsoft.VisualStudio.Modeling.Shell.UndoUnit
override this.CreateUndoUnit : Microsoft.VisualStudio.Modeling.TransactionItem -> Microsoft.VisualStudio.Modeling.Shell.UndoUnit
Protected Overridable Function CreateUndoUnit (undoableTransaction As TransactionItem) As UndoUnit

Parameters

undoableTransaction
TransactionItem

TransactionItem which represents the transaction to be undone.

Returns

UndoUnit which wraps the given TransactionItem.

Applies to