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


IGeometryArray.Element Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometryArray Interface > IGeometryArray.Element Property
ArcGIS Developer Help

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