ModelingDocStore.CreateUndoUnit(TransactionItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.