UndoableGraphTransactionScope Constructor (Object^, String^, UndoOption)
Visual Studio 2015
Construct a new UndoableGraphTransactionScope
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
public:
UndoableGraphTransactionScope(
Object^ undoUnitId,
String^ undoDescription,
UndoOption option
)
Parameters
- undoUnitId
-
Type:
System::Object^
The id of the undoable action, should not be a System.String object because string equality does not honor object identity. Therefore, UndoOption.Merge of these items could cause unintended behavior where undo units merge when you did not expect them to. The object identify of the undoUnitId is the deciding factor for determining which undo units to merge.
- undoDescription
-
Type:
System::String^
The user displayable string description
- option
-
Type:
Microsoft.VisualStudio.GraphModel::UndoOption
Option on how the change should be handled on the application undo stack
Show: