Home > All Other Interfaces > IGeometryCollection > Item

Item

Returns the IGeometry element in the specified zero based index.

To access a specific element use the following syntax: IGeometryCollection6(index).

C# exposes this property as an indexer accessed using the following syntax: IGeometryCollection6[index].

 

JavaScript

 

Item(

      Index,

      pVal)

 

C#

 

dynamic this[object Index] { get; }

 

C++

 

HRESULT Item(

      [in] VARIANT Index,

      [out, retval] VARIANT* pVal)