ArcObjects Library Reference (System)  

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

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.

CoClasses that implement IVariantArray

CoClasses and Classes Description
VarArray An object for holding a Variant array.