TempEntityList Class

Entity collection.
Public Class TempEntityList 
Inherits EyeshotDisposableCollection(Of Entity)
This language is not supported or no code example is available.
public class TempEntityList : EyeshotDisposableCollection<Entity>
This language is not supported or no code example is available.
Name Description
Public constructor TempEntityList() Special constructor, can be used when annotation entities (Text, Dimension, etc.) are not involved.
Top
Name Description
Public property Capacity (inherited from EyeshotCollection<T>).
Public property Count Gets the number of items actually contained in the collection. (inherited from EyeshotCollection<T>).
Public property IsReadOnly Gets a value indicating whether the collection is read-only. (inherited from EyeshotCollection<T>).
Public property Item(int) Gets or sets the item at the specified index. (inherited from EyeshotDisposableCollection<T>).
Top
Methods
 
Name Description
Public method Add(Entity, Color) Adds one Entity at the end of this collection using the specified color.
Public method AddRange(IEnumerable<T>) Adds the items of the specified collection to the end of this collection. (inherited from EyeshotDisposableCollection<T>).
Public method AddRange(IEnumerable<T>, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Public method AddRange<T>(IEnumerable<T>, Color) Adds the entities of the specified collection to the end of this collection using the specified layer.
Public method Clear() Removes all items from the collection.
Protected method CombineBoundingBox(Entity)
Protected method CombineBoundingBox(IEnumerable<Entity>)
Public method Contains(T) Determines whether an item is in the collection. (inherited from EyeshotCollection<T>).
Public method CopyTo(T[], int) Copies the entire collection to a compatible one-dimensional array. (inherited from EyeshotCollection<T>).
Public method Equals(Object) (inherited from Object).
Public method Exists(Predicate<T>) Determines whether this collection contains elements that match the conditions defined by the specified predicate. (inherited from EyeshotCollection<T>).
Protected method Finalize (inherited from Object).
Public method Find(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire collection. (inherited from EyeshotCollection<T>).
Public method FindAll(Predicate<T>) Retrieves all the elements that match the conditions defined by the specified predicate. (inherited from EyeshotCollection<T>).
Public method FindIndex(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire collection. (inherited from EyeshotCollection<T>).
Public method FindIndex(int, Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in this collection that extends from the specified index to the last element. (inherited from EyeshotCollection<T>).
Public method FindIndex(int, int, Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in this collection that starts at the specified index and contains the specified number of elements. (inherited from EyeshotCollection<T>).
Public method FindLast(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire collection. (inherited from EyeshotCollection<T>).
Public method FindLastIndex(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire collection. (inherited from EyeshotCollection<T>).
Public method FindLastIndex(int, Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in this collection that extends from the first element to the specified index. (inherited from EyeshotCollection<T>).
Public method FindLastIndex(int, int, Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in this collection that contains the specified number of elements and ends at the specified index. (inherited from EyeshotCollection<T>).
Public method ForEach(Action<T>) Performs the specified action on each element of the collection. (inherited from EyeshotCollection<T>).
Public method GetEnumerator() (inherited from EyeshotCollection<T>).
Public method GetHashCode (inherited from Object).
Public method GetType (inherited from Object).
Public method IndexOf(T) (inherited from EyeshotCollection<T>).
Public method Insert(int, T) Inserts an item into this collection at the specified index. (inherited from EyeshotDisposableCollection<T>).
Public method Insert(int, T, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Public method InsertRange(int, IEnumerable<T>) Inserts the items of a collection into this collection at the specified index. (inherited from EyeshotDisposableCollection<T>).
Public method InsertRange(int, IEnumerable<T>, RegenOptions) (inherited from EyeshotDisposableCollection<T>).
Protected method MemberwiseClone (inherited from Object).
Public method Remove(Entity) Removes the first occurrence of a specific entity from this collection.
Public method RemoveAll(Predicate<Entity>) Removes all the entities that match the conditions defined by the specified predicate.
Public method RemoveAt(int) Removes the entity at the specified index of this collection.
Public method RemoveRange(int, int) Removes a range of entities from this collection.
Public method Reverse() Reverses the order of the items in the entire collection. (inherited from EyeshotCollection<T>).
Public method Sort(IComparer<T>) Sorts the items in the entire collection. (inherited from EyeshotCollection<T>).
Public method ToString() (inherited from EyeshotCollection<T>).
Public method UpdateBoundingBox() Computes the temporary entities bounding box.
Top
Fields
 
Name Description
Internal protected (Protected Friend) field EyeshotDisposableCollection.Workspace The Workspace related to the collection. (inherited from EyeshotDisposableCollection<T>).
Top
Remarks
 
When overriding a method of this class, never forget to call its base class implementation.

.NET Framework

Supported in: 4.7.2

In this article

Definition