This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IArray Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control a simple array of objects.
An Array object is used to hold an indexed collection of generic objects. The Array uses a zero-based index.
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 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. |
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.