GraphConditionCollection 类

此类为操作条件对象集合提供方法。

继承层次结构

System.Object
  Microsoft.VisualStudio.GraphModel.Styles.GraphConditionCollection

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

语法

声明
Public Class GraphConditionCollection _
    Implements ICollection(Of GraphCondition), IEnumerable(Of GraphCondition),  _
    IEnumerable, IHasGraphOwner
public class GraphConditionCollection : ICollection<GraphCondition>, 
    IEnumerable<GraphCondition>, IEnumerable, IHasGraphOwner
public ref class GraphConditionCollection : ICollection<GraphCondition^>, 
    IEnumerable<GraphCondition^>, IEnumerable, IHasGraphOwner
type GraphConditionCollection =  
    class
        interface ICollection<GraphCondition>
        interface IEnumerable<GraphCondition>
        interface IEnumerable
        interface IHasGraphOwner
    end
public class GraphConditionCollection implements ICollection<GraphCondition>, IEnumerable<GraphCondition>, IEnumerable, IHasGraphOwner

GraphConditionCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 GraphConditionCollection 构造给定关系图的新样式对象。

页首

属性

  名称 说明
公共属性 Count 返回样式的数目集合中的。
公共属性 Graph 获取关系图此集合属于。
公共属性 IsReadOnly 获取指示 System.Collections.Generic.ICollection 是否为只读的值。
公共属性 Owner 获取关系图此集合属于。

页首

方法

  名称 说明
公共方法 Add 添加指定的条件。
公共方法 Clear 清除列表情况。
公共方法 Contains 确定此特定情况是否在条件列出了此样式的。
公共方法 CopyTo 复制System.Collections.Generic.ICollection的元素对System.Array开始,在特定System.Array索引。
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetEnumerator IEnumerable<Condition> 实现。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 Insert 插入到特定位置的特定情况在列表中。
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 Remove 从 System.Collections.Generic.ICollection 中移除特定对象的第一个匹配项。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IEnumerable.GetEnumerator IEnumberable实现。

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.GraphModel.Styles 命名空间