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

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

LongArrayClass Class

An object for holding a Long array.

Product Availability

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


A LongArray stores an array of long integer values. You can insert or remove elements from any position in the array and access any element via a zero-based index. You can also persist the array to XML.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
ILongArray Provides access to members that control long arrays.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.


LongArray objects are used by several interfaces including IMapServer to define a list of layer IDs.