Click or drag to resize

EntityCollection Class

Represent a collection of entities that fire events when it is modified.
Inheritance Hierarchy
SystemObject
  DXFReaderNET.CollectionsEntityCollection

Namespace:  DXFReaderNET.Collections
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public class EntityCollection : IList<EntityObject>, 
	ICollection<EntityObject>, IEnumerable<EntityObject>, IEnumerable

The EntityCollection type exposes the following members.

Constructors
  NameDescription
Public methodEntityCollection
Initializes a new instance of EntityCollection.
Public methodEntityCollection(Int32)
Initializes a new instance of EntityCollection and has the specified initial capacity.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of entities contained in the collection.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItem
Gets or sets the entity at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Adds an entity to the collection.
Public methodAddRange
Adds an entity list to the end of the collection.
Public methodClear
Removes all entities from the collection.
Public methodContains
Determines whether an entity is in the collection.
Public methodCopyTo
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIndexOf
Searches for the specified entity and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert
Inserts an entity into the collection at the specified index.
Public methodRemove(EntityObject)
Removes the first occurrence of a specific entity from the collection
Public methodRemove(IEnumerableEntityObject)
Removes the first occurrence of a specific object from the collection
Public methodRemoveAt
Removes the entity at the specified index of the collection.
Top
See Also