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


IVariantArray Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IV > IVariantArray Interface
ArcGIS Developer Help

IVariantArray Interface

Provides access to members that control variant arrays.

Product Availability

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

Description

The IVariantArray interface provides methods and properties for inserting, removing and accessing elements in a VarArray via a zero-based index.

Members

Name Description
Method Add Add an element.
Read-only property Count The element count.
Read/write property Element An element in the array.
Method Insert Add an element at the specified posiiton.
Method Remove Removes element at the specified position.
Method RemoveAll Removes all elements.

Classes that implement IVariantArray

Classes Description
VarArray An object for holding a Variant array.