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


IGeometryArray.Element Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IGeometryArray.Element Property

Returns the geometry at the specified position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal Index As Integer _
) As IGeometry
[C#]
public IGeometry get_Element (
    int Index
);
[C++]
HRESULT get_Element(
  long Index,
  IGeometry** g
);
[C++]

Parameters Index [in]
Index is a parameter of type long g [out, retval]
g is a parameter of type IGeometry**

Product Availability

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

See Also

IGeometryArray Interface