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


ILongArray.Remove Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

ILongArray.Remove Method

Removes an element 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

ILongArray Interface