Condividi tramite


EdgePointCollection Class

Handle a list of edgepoints exactly like an ArrayList

Inheritance Hierarchy

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Dichiarazione
<SerializableAttribute> _
<TypeConverterAttribute(GetType(EdgePointCollectionConverter))> _
Public Class EdgePointCollection _
    Inherits ArrayList
[SerializableAttribute]
[TypeConverterAttribute(typeof(EdgePointCollectionConverter))]
public class EdgePointCollection : ArrayList
[SerializableAttribute]
[TypeConverterAttribute(typeof(EdgePointCollectionConverter))]
public ref class EdgePointCollection : public ArrayList
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(EdgePointCollectionConverter))>]
type EdgePointCollection =  
    class
        inherit ArrayList
    end
public class EdgePointCollection extends ArrayList

The EdgePointCollection type exposes the following members.

Constructors

  Name Description
Public method EdgePointCollection()
Public method EdgePointCollection(ICollection)
Public method EdgePointCollection(Int32)

Top

Properties

  Name Description
Public property Capacity Gets or sets the number of elements that the ArrayList can contain. (Inherited from ArrayList.)
Public property Count Gets the number of elements actually contained in the ArrayList. (Inherited from ArrayList.)
Public property IsFixedSize Gets a value indicating whether the ArrayList has a fixed size. (Inherited from ArrayList.)
Public property IsReadOnly (Overrides ArrayList.IsReadOnly.)
Public property IsSynchronized Gets a value indicating whether access to the ArrayList is synchronized (thread safe). (Inherited from ArrayList.)
Public property Item
Public property SyncRoot Gets an object that can be used to synchronize access to the ArrayList. (Inherited from ArrayList.)

Top

Methods

  Name Description
Public method Add(Object) Adds an object to the end of the ArrayList. (Inherited from ArrayList.)
Public method Add(EdgePoint)
Public method AddRange Adds the elements of an ICollection to the end of the ArrayList. (Inherited from ArrayList.)
Public method BinarySearch(Object) Searches the entire sorted ArrayList for an element using the default comparer and returns the zero-based index of the element. (Inherited from ArrayList.)
Public method BinarySearch(Object, IComparer) Searches the entire sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. (Inherited from ArrayList.)
Public method BinarySearch(Int32, Int32, Object, IComparer) Searches a range of elements in the sorted ArrayList for an element using the specified comparer and returns the zero-based index of the element. (Inherited from ArrayList.)
Public method Clear Removes all elements from the ArrayList. (Inherited from ArrayList.)
Public method Clone Creates a shallow copy of the ArrayList. (Inherited from ArrayList.)
Public method Contains(Object) Determines whether an element is in the ArrayList. (Inherited from ArrayList.)
Public method Contains(EdgePoint)
Public method CopyTo(Array) Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array. (Inherited from ArrayList.)
Public method CopyTo(array<EdgePoint[])
Public method CopyTo(Array, Int32) Copies the entire ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ArrayList.)
Public method CopyTo(array<EdgePoint[], Int32)
Public method CopyTo(Int32, Array, Int32, Int32) Copies a range of elements from the ArrayList to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ArrayList.)
Public method CopyTo(Int32, array<EdgePoint[], Int32, Int32)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator() Returns an enumerator for the entire ArrayList. (Inherited from ArrayList.)
Public method GetEnumerator(Int32, Int32) Returns an enumerator for a range of elements in the ArrayList. (Inherited from ArrayList.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetRange Returns an ArrayList which represents a subset of the elements in the source ArrayList. (Inherited from ArrayList.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf(Object) Searches for the specified Object and returns the zero-based index of the first occurrence within the entire ArrayList. (Inherited from ArrayList.)
Public method IndexOf(EdgePoint)
Public method IndexOf(Object, Int32) Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that extends from the specified index to the last element. (Inherited from ArrayList.)
Public method IndexOf(Object, Int32, Int32) Searches for the specified Object and returns the zero-based index of the first occurrence within the range of elements in the ArrayList that starts at the specified index and contains the specified number of elements. (Inherited from ArrayList.)
Public method Insert(Int32, Object) Inserts an element into the ArrayList at the specified index. (Inherited from ArrayList.)
Public method Insert(Int32, EdgePoint)
Public method InsertRange Inserts the elements of a collection into the ArrayList at the specified index. (Inherited from ArrayList.)
Public method LastIndexOf(Object) Searches for the specified Object and returns the zero-based index of the last occurrence within the entire ArrayList. (Inherited from ArrayList.)
Public method LastIndexOf(Object, Int32) Searches for the specified Object and returns the zero-based index of the last occurrence within the range of elements in the ArrayList that extends from the first element to the specified index. (Inherited from ArrayList.)
Public method LastIndexOf(Object, Int32, Int32) Searches for the specified Object and returns the zero-based index of the last occurrence within the range of elements in the ArrayList that contains the specified number of elements and ends at the specified index. (Inherited from ArrayList.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member ReadOnly
Public method Remove(Object) Removes the first occurrence of a specific object from the ArrayList. (Inherited from ArrayList.)
Public method Remove(EdgePoint)
Public method RemoveAt Removes the element at the specified index of the ArrayList. (Inherited from ArrayList.)
Public method RemoveRange Removes a range of elements from the ArrayList. (Inherited from ArrayList.)
Public method Reverse() Reverses the order of the elements in the entire ArrayList. (Inherited from ArrayList.)
Public method Reverse(Int32, Int32) Reverses the order of the elements in the specified range. (Inherited from ArrayList.)
Public method SetRange Copies the elements of a collection over a range of elements in the ArrayList. (Inherited from ArrayList.)
Public method Sort() Sorts the elements in the entire ArrayList. (Inherited from ArrayList.)
Public method Sort(IComparer) Sorts the elements in the entire ArrayList using the specified comparer. (Inherited from ArrayList.)
Public method Sort(Int32, Int32, IComparer) Sorts the elements in a range of elements in ArrayList using the specified comparer. (Inherited from ArrayList.)
Public method ToArray() Copies the elements of the ArrayList to a new Object array. (Inherited from ArrayList.)
Public method ToArray(Type) Copies the elements of the ArrayList to a new array of the specified element type. (Inherited from ArrayList.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrimToSize Sets the capacity to the actual number of elements in the ArrayList. (Inherited from ArrayList.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace