ArcObjects Library Reference (System)  

ILongArray.Insert Method

Inserts an element to the array.

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

Parameters

index [in]   index is a parameter of type long Element [in]   Element is a parameter of type long

Product Availability

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

Description

Adds the element to the array at the specified index. 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