This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 405
d19b2109 0ae5 1360 0acb b6269c4113de
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represent a collection of entities that fire events when it is modified.
Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class EntityCollection : IList<EntityObject>,
ICollection<EntityObject>, IEnumerable<EntityObject>, IEnumerable
VB
Public Class EntityCollection
Implements IList(Of EntityObject), ICollection(Of EntityObject),
IEnumerable(Of EntityObject), IEnumerable
C++
public ref class EntityCollection : IList<EntityObject^>,
ICollection<EntityObject^>, IEnumerable<EntityObject^>, IEnumerable
F#
type EntityCollection =
class
interface IList<EntityObject>
interface ICollection<EntityObject>
interface IEnumerable<EntityObject>
interface IEnumerable
end
Inheritance | Object → EntityCollection |
Implements | ICollection(EntityObject), IEnumerable(EntityObject), IList(EntityObject), IEnumerable |
EntityCollection() | Initializes a new instance of EntityCollection . |
EntityCollection(Int32) | Initializes a new instance of EntityCollection and has the specified initial capacity. |
Count | Gets the number of entities contained in the collection. |
IsReadOnly | Gets a value indicating whether the collection is read-only. |
Item | Gets or sets the entity at the specified index. |
Add | Adds an entity to the collection. |
AddRange | Adds an entity list to the end of the collection. |
Clear | Removes all entities from the collection. |
Contains | Determines whether an entity is in the collection. |
CopyTo | Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetEnumerator | Returns an enumerator that iterates through the collection. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
IndexOf | Searches for the specified entity and returns the zero-based index of the first occurrence within the entire collection. |
Insert | Inserts an entity into the collection at the specified index. |
Remove(EntityObject) | Removes the first occurrence of a specific entity from the collection |
Remove(IEnumerable(EntityObject)) | Removes the first occurrence of a specific object from the collection |
RemoveAt | Removes the entity at the specified index of the collection. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
AddItem | |
BeforeAddItem | |
BeforeRemoveItem | |
RemoveItem |