ArcObjects Library Reference (System)  

ILongArray.Element Property

An element in the array.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal index As Integer _
) As Integer
[Visual Basic .NET]
Public Sub set_Element ( _
    ByVal index As Integer, _
    ByVal pElement As Integer _
)
[C#]
public int get_Element (
    int index
);
[C#]
public void set_Element (
    int index,
    int pElement
);
[C++]
HRESULT get_Element(
  long index,
  long* pElement
);
[C++]
HRESULT put_Element(
  long index,
  long pElement
);
[C++]

Parameters

index [in]   index is a parameter of type long pElement [out, retval]   pElement is a parameter of type long index [in]   index is a parameter of type long pElement [in]   pElement is a parameter of type long

Product Availability

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

Description

Returns or sets the element at the specified index in 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

.NET Related Topics

Working with SQL workspaces |