Provides access to members that control a simple array of objects.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
An Array object is used to hold an indexed collection of generic objects. The Array uses a zero-based index.
Members
Description | ||
---|---|---|
Add | Adds an object to the array. | |
Count | The element count of the array. | |
Element | Searches for the object in the array. | |
Insert | Adds an object to the array at the specified index. | |
Remove | Removes an object from the array. | |
RemoveAll | Removes all objects from the array. |
CoClasses that implement IArray
CoClasses and Classes | Description |
---|---|
Array | Generic array of objects. |
EnumGPEnvironment (esriGeoprocessing) | Enumeration of multiple geoprocessing environment objects. |
EnumGPName (esriGeoprocessing) | Enumeration of multiple geoprocessing name objects. |
TxMaps (esriTrackingAnalyst) | TxMaps is a container class that holds a list or array of objects implementing IMap. |
Remarks
When adding an object to an Array, you are merely adding a new reference to the object not copying it. The reference is released when the Array is destroyed or the object is removed.