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


VarArray CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

VarArray CoClass

An object for holding a Variant array.

Product Availability

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

Description

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

Interfaces Description
IPersist (esriSystem) Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream
IVariantArray Provides access to members that control variant arrays.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.