GraphUndoUnit(Graph, GraphUpdatedEventArgs) Constructor
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.
Construct an undo unit from the changes that are about to be committed in the given GraphUpdatedEventArgs. This has to be called during the Graph Updating, the Updated event is too late since we have to be able to save the old values before the changes are committed in order to be able to undo those changes.
public:
GraphUndoUnit(Microsoft::VisualStudio::GraphModel::Graph ^ graph, Microsoft::VisualStudio::GraphModel::GraphUpdatedEventArgs ^ changes);
public GraphUndoUnit (Microsoft.VisualStudio.GraphModel.Graph graph, Microsoft.VisualStudio.GraphModel.GraphUpdatedEventArgs changes);
new Microsoft.VisualStudio.GraphModel.GraphUndoUnit : Microsoft.VisualStudio.GraphModel.Graph * Microsoft.VisualStudio.GraphModel.GraphUpdatedEventArgs -> Microsoft.VisualStudio.GraphModel.GraphUndoUnit
Public Sub New (graph As Graph, changes As GraphUpdatedEventArgs)
Parameters
- graph
- Graph
- changes
- GraphUpdatedEventArgs