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

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

VarArrayClass Class

An object for holding a Variant array.

Product Availability

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


A VarArray (Variant Array) is the most heterogeneous of the ArcObjects arrays. It operates in a similar manner to an Array object, but in addition to storing object references, it can store numeric values, text, dates, booleans, or any data corresponding to a VARIANT as defined in the Microsoft Automation SDK; this is equivalent to the Visual Basic 6 Variant data type.

Supported Platforms

Windows, Solaris, Linux


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