GraphConditionCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此类提供用于操作条件对象的集合的方法。
public ref class GraphConditionCollection : Microsoft::VisualStudio::GraphModel::IHasGraphOwner, System::Collections::Generic::ICollection<Microsoft::VisualStudio::GraphModel::Styles::GraphCondition ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::Styles::GraphCondition ^>
public class GraphConditionCollection : Microsoft.VisualStudio.GraphModel.IHasGraphOwner, System.Collections.Generic.ICollection<Microsoft.VisualStudio.GraphModel.Styles.GraphCondition>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.Styles.GraphCondition>
type GraphConditionCollection = class
interface ICollection<GraphCondition>
interface seq<GraphCondition>
interface IEnumerable
interface IHasGraphOwner
Public Class GraphConditionCollection
Implements ICollection(Of GraphCondition), IEnumerable(Of GraphCondition), IHasGraphOwner
- 继承
-
GraphConditionCollection
- 实现
构造函数
| GraphConditionCollection(Graph) |
为给定的关系图构造新的样式对象。 |
属性
| Count |
返回集合中的样式数目。 |
| Graph |
获取此集合所属的关系图 |
| IsReadOnly |
获取一个值,该值指示 System.object 是否为只读。 |
| Owner |
获取此集合所属的关系图 |
方法
| Add(GraphCondition) |
添加指定的条件。 |
| Clear() |
清除条件列表。 |
| Contains(GraphCondition) |
确定给定条件是否在此样式的条件列表中。 |
| CopyTo(GraphCondition[], Int32) |
将 System.object 的元素复制到 system.exception,从特定的系统数组索引处开始复制。 |
| GetEnumerator() |
IEnumerable < 条件 > 实现 |
| Insert(Int32, GraphCondition) |
将给定条件插入到列表中的给定位置。 |
| Remove(GraphCondition) |
从 System.object 中移除特定对象的第一个匹配项。 |
显式接口实现
| IEnumerable.GetEnumerator() |
IEnumberable 实现 |
扩展方法
| EmptyIfNull<T>(IEnumerable<T>) |