This document is archived and information here might be outdated.  Recommended version.

Array Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Classes > A > Array Class
ArcGIS Developer Help

ArrayClass Class

Generic array of objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The Array object enables ArcObjects to pass around arrays of object references in a cross platform manner; you can store and retrieve an array of object references in the same way regardless of which ArcObjects API you are using. Unlike the similar Set object, Arrays offer random access by indexed lookup. You can also insert, remove, or replace objects at any position in the Array. The array is heterogeneous, that is the objects in it do not need to be of the same type.

Array objects are used by several interfaces including IIdentify and IMapControl2.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IArray Provides access to members that control a simple array of objects.
IArray2 Provides access to replace an object in the array.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.