EdgePointCollection 类

处理 edgepoints 列表方式与 ArrayList 的

继承层次结构

System.Object
  System.Collections.ArrayList
    Microsoft.VisualStudio.Modeling.Diagrams.EdgePointCollection

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
<SerializableAttribute> _
<TypeConverterAttribute(GetType(EdgePointCollectionConverter))> _
Public Class EdgePointCollection _
    Inherits ArrayList
[SerializableAttribute]
[TypeConverterAttribute(typeof(EdgePointCollectionConverter))]
public class EdgePointCollection : ArrayList

EdgePointCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 EdgePointCollection()
公共方法 EdgePointCollection(ICollection)
公共方法 EdgePointCollection(Int32)

页首

属性

  名称 说明
公共属性 Capacity 获取或设置 ArrayList 可包含的元素数。 (继承自 ArrayList。)
公共属性 Count 获取 ArrayList 中实际包含的元素数。 (继承自 ArrayList。)
公共属性 IsFixedSize 获取一个值,该值指示 ArrayList 是否具有固定大小。 (继承自 ArrayList。)
公共属性 IsReadOnly (重写 ArrayList.IsReadOnly。)
公共属性 IsSynchronized 获取一个值,该值指示是否同步对 ArrayList 的访问(线程安全)。 (继承自 ArrayList。)
公共属性 Item
公共属性 SyncRoot 获取可用于同步对 ArrayList 的访问的对象。 (继承自 ArrayList。)

页首

方法

  名称 说明
公共方法 Add(Object) 将对象添加到 ArrayList 的结尾处。 (继承自 ArrayList。)
公共方法 Add(EdgePoint)
公共方法 AddRange ICollection 的元素添加到 ArrayList 的末尾。 (继承自 ArrayList。)
公共方法 BinarySearch(Object) 使用默认的比较器在整个已排序的 ArrayList 中搜索元素,并返回该元素从零开始的索引。 (继承自 ArrayList。)
公共方法 BinarySearch(Object, IComparer) 使用指定的比较器在整个已排序的 ArrayList 中搜索元素,并返回该元素从零开始的索引。 (继承自 ArrayList。)
公共方法 BinarySearch(Int32, Int32, Object, IComparer) 使用指定的比较器在已排序 ArrayList 的某个元素范围中搜索元素,并返回该元素从零开始的索引。 (继承自 ArrayList。)
公共方法 Clear ArrayList 中移除所有元素。 (继承自 ArrayList。)
公共方法 Clone 创建 ArrayList 的浅表副本。 (继承自 ArrayList。)
公共方法 Contains(Object) 确定某元素是否在 ArrayList 中。 (继承自 ArrayList。)
公共方法 Contains(EdgePoint)
公共方法 CopyTo(Array) 从目标数组的开头开始将整个 ArrayList 复制到兼容的一维 Array 中。 (继承自 ArrayList。)
公共方法 CopyTo(array<EdgePoint[])
公共方法 CopyTo(Array, Int32) 从目标数组的指定索引处开始将整个 ArrayList 复制到兼容的一维 Array。 (继承自 ArrayList。)
公共方法 CopyTo(array<EdgePoint[], Int32)
公共方法 CopyTo(Int32, Array, Int32, Int32) 从目标数组的指定索引处开始,将一定范围的元素从 ArrayList 复制到兼容的一维 Array 中。 (继承自 ArrayList。)
公共方法 CopyTo(Int32, array<EdgePoint[], Int32, Int32)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetEnumerator() 返回整个 ArrayList 的一个枚举器。 (继承自 ArrayList。)
公共方法 GetEnumerator(Int32, Int32) 返回 ArrayList 中某个范围内的元素的枚举器。 (继承自 ArrayList。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetRange 返回 ArrayList,它表示源 ArrayList 中元素的子集。 (继承自 ArrayList。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IndexOf(Object) 搜索指定的 Object,并返回整个 ArrayList 中第一个匹配项的从零开始的索引。 (继承自 ArrayList。)
公共方法 IndexOf(EdgePoint)
公共方法 IndexOf(Object, Int32) 搜索指定的 Object,并返回 ArrayList 中从指定索引到最后一个元素的元素范围内第一个匹配项的从零开始的索引。 (继承自 ArrayList。)
公共方法 IndexOf(Object, Int32, Int32) 搜索指定的 Object,并返回 ArrayList 中从指定的索引开始并包含指定的元素数的元素范围内第一个匹配项的从零开始的索引。 (继承自 ArrayList。)
公共方法 Insert(Int32, Object) 将元素插入 ArrayList 的指定索引处。 (继承自 ArrayList。)
公共方法 Insert(Int32, EdgePoint)
公共方法 InsertRange 将集合中的某个元素插入 ArrayList 的指定索引处。 (继承自 ArrayList。)
公共方法 LastIndexOf(Object) 搜索指定的 Object,并返回整个 ArrayList 中最后一个匹配项的从零开始的索引。 (继承自 ArrayList。)
公共方法 LastIndexOf(Object, Int32) 搜索指定的 Object,并返回 ArrayList 中从第一个元素到指定索引的元素范围内最后一个匹配项的从零开始的索引。 (继承自 ArrayList。)
公共方法 LastIndexOf(Object, Int32, Int32) 搜索指定的 Object,并返回 ArrayList 中包含指定的元素数并在指定索引处结束的元素范围内最后一个匹配项的从零开始的索引。 (继承自 ArrayList。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法静态成员 ReadOnly
公共方法 Remove(Object) ArrayList 中移除特定对象的第一个匹配项。 (继承自 ArrayList。)
公共方法 Remove(EdgePoint)
公共方法 RemoveAt 移除 ArrayList 的指定索引处的元素。 (继承自 ArrayList。)
公共方法 RemoveRange ArrayList 中移除一定范围的元素。 (继承自 ArrayList。)
公共方法 Reverse() 将整个 ArrayList 中元素的顺序反转。 (继承自 ArrayList。)
公共方法 Reverse(Int32, Int32) 将指定范围中元素的顺序反转。 (继承自 ArrayList。)
公共方法 SetRange 将集合中的元素复制到 ArrayList 中一定范围的元素上。 (继承自 ArrayList。)
公共方法 Sort() 对整个 ArrayList 中的元素进行排序。 (继承自 ArrayList。)
公共方法 Sort(IComparer) 使用指定的比较器对整个 ArrayList 中的元素进行排序。 (继承自 ArrayList。)
公共方法 Sort(Int32, Int32, IComparer) 使用指定的比较器对 ArrayList 中某个范围内的元素进行排序。 (继承自 ArrayList。)
公共方法 ToArray() ArrayList 的元素复制到新 Object 数组中。 (继承自 ArrayList。)
公共方法 ToArray(Type) ArrayList 的元素复制到指定元素类型的新数组中。 (继承自 ArrayList。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 TrimToSize 将容量设置为 ArrayList 中元素的实际数目。 (继承自 ArrayList。)

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.Modeling.Diagrams 命名空间