GraphUndoUnit 构造函数

在更改中构造一个在给定 GraphUpdatedEventArgs 中将要提交的撤消单元。

这在更新图表的过程中,将更新事件后期,因为在更改要撤消这些更改之前我们必须能够保存旧值。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Sub New ( _
    graph As Graph, _
    changes As GraphUpdatedEventArgs _
)
public GraphUndoUnit(
    Graph graph,
    GraphUpdatedEventArgs changes
)
public:
GraphUndoUnit(
    Graph^ graph, 
    GraphUpdatedEventArgs^ changes
)
new : 
        graph:Graph * 
        changes:GraphUpdatedEventArgs -> GraphUndoUnit
public function GraphUndoUnit(
    graph : Graph, 
    changes : GraphUpdatedEventArgs
)

参数

.NET Framework 安全性

请参见

参考

GraphUndoUnit 类

Microsoft.VisualStudio.GraphModel 命名空间