GraphUpdatedEventArgs 类

提供对关系图对象的更改

继承层次结构

System.Object
  System.EventArgs
    Microsoft.VisualStudio.GraphModel.GraphUpdatedEventArgs

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

语法

声明
Public Class GraphUpdatedEventArgs _
    Inherits EventArgs
public class GraphUpdatedEventArgs : EventArgs
public ref class GraphUpdatedEventArgs : public EventArgs
type GraphUpdatedEventArgs =  
    class
        inherit EventArgs
    end
public class GraphUpdatedEventArgs extends EventArgs

GraphUpdatedEventArgs 类型公开以下成员。

属性

  名称 说明
公共属性 AddedConditions 获取在交易过程中添加到该图样式的 Conditions 集合的 Conditions。
公共属性 AddedLinks 在事务过程中添加到 Graph.Links 设置的链接
公共属性 AddedNodes 在事务过程中添加到 Graph.Nodes 设置中的链接
公共属性 AddedSetters 获取在事务处理过程中添加到该图中样式的 Setters 集合的 Setters。
公共属性 AddedStyles 获取在事务处理过程中添加到该图的样式集合的 ConditionalStyles。
公共属性 Cancel 通过设置取消对图表对象所作变动
公共属性 ChangedConditions 获取在事务处理过程中更改该图的 Conditions。
公共属性 ChangedLinks 已在事务期间更改数据的 Graph.Links 中之前显示的链接
公共属性 ChangedNodes 已在事务期间更改数据的 Graph.Links 中之前显示的节点
公共属性 ChangedSetters 获取在事务处理过程中更改该图的 Setters。
公共属性 ChangedStyles 获取在事务处理过程中更改该图的 ConditionalStyles。
公共属性 Graph 提交事务时将应用链接的图形对象
公共属性 RemovedConditions 获取在事务处理过程中从该图中样式的 Conditions 集合中移除的 Conditions。
公共属性 RemovedLinks 在事务过程中从 Graph.Links 设置中删除的链接
公共属性 RemovedNodes 在事务过程中从 Graph.Links 设置中删除的节点
公共属性 RemovedSetters 获取在事务处理过程中移除该图中样式的 Setters 集合的 Setters。
公共属性 RemovedStyles 获取在交易过程中移除该图的样式集合的 ConditionalStyles。
公共属性 Transaction 造成当前更新的 System.Transaction 事务
公共属性 TransactionId

页首

方法

  名称 说明
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetAddedCategories 获取给定的已更改的节点所添加的图形类别的列表。
公共方法 GetAddedProperties 获取给定的已更改的节点所添加的图形属性的列表。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetRemovedCategories 获取给定的已更改的节点所移除的图形类别的列表。
公共方法 GetRemovedProperties 获取给定的已更改的节点所移除的图形属性的列表。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.GraphModel 命名空间