Class Int32Array
- Namespace
- VectorDraw.Geometry
- Assembly
- VectorDraw.Geometry.dll
Represents a collection of integers.
public class Int32Array : BaseObject, IDisposable, IBaseObject, IVDSerialise, ICloneable, IEnumerable
- Inheritance
-
Int32Array
- Implements
- Inherited Members
Constructors
- Int32Array()
Initializes the collection.
- Int32Array(int[])
Fill the collection with passed integer items.
- Int32Array(int[], bool)
Fill the collection with passed integer items.
Properties
- ArrayItems
Get the items of the collection in a returned array.
The length of the return collection can be bigger than Count
this is done with the aim of having better performance of memory allocation
Always access to Count items of return collection
- Count
Get the number of items in the collection.
- this[int]
Get/Set the object at a specified index of the collection.
Methods
- Add(object)
Adds an object to the end of the collection.
- AddItem(int)
Adds an object to the end of the collection.
- AddRange(Int32Array)
Adds the objects of one list to the end of this list.
- Clone()
Returns a new created collection having a copy of all the objects of this collection.
- Contains(int)
Checks if an Int32 object exists in the collection.
- ContainsPos(int)
Checks if an Int32 object exists in the collection.
- DeSerialize(DeSerializer, string, object)
This Function is called foreach field name of the Int32Array object when opening in vdml format.
- Equals(object)
Checks if the parameter object is equal to this collection.
- GetCompareHashCode()
Returns a 32-bit signed integer hash code for this object instance.
- GetEnumerator()
Implements the "foreach" expression for the collection.
- GetHashCode()
Returns a 32-bit signed integer hash code for this object instance.
- RemoveAll()
Removes all objects from the collection.
- RemoveAt(int)
Removes an object from a specified index of the collection.
- RemoveLast()
Removes the last item of the collection.
- Reverse()
Changes the order of the collection.
- Serialize(Serializer)
This Function is called when saving the Int32Array object to vdml format.
- SetValue(int, object)
Set the passed object value to the specified index of the array.
- ToString()
Gets a System.String that represents the count of the Int32Array Object.
- shortAscending()
Shorts the collection's object with ascending order.