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


IDoubleArray.Element Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > ID > IDoubleArray Interface > IDoubleArray.Element Property
ArcGIS Developer Help

IDoubleArray.Element Property

An element from the array.

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

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

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

IDoubleArray Interface