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


IVariantArray.Add Method (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 > IVariantArray.Add Method
ArcGIS Developer Help

IVariantArray.Add Method

Add an element.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Element As Object _
)
[C#]
public void Add (
    object Element
);
[C++]
HRESULT Add(
  VARIANT Element
);
[C++]
Parameters
Element [in]

Element is a parameter of type VARIANT

Product Availability

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

Description

Adds the element to the end of the array.

See Also

IVariantArray Interface