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


IArray.Remove Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IArray.Remove Method

Removes an object from the array.

[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

IArray Interface