ArrayClass

Generic array of objects.

Description

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

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close