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


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

IVariantArray.Remove Method

Removes element at the specified position.

[Visual Basic .NET]
Public Sub Remove ( _
    ByVal index As Integer _
)
[C#]
public void Remove (
    int index
);
[C++]
HRESULT Remove(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

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

Description

Removes the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.

See Also

IVariantArray Interface