![]() |
This document is archived and information here might be outdated. Recommended version. |
Populates the array with references to a sub-sequence of geometries. This method is intended for internal use only.
[Visual Basic .NET] Public Sub QueryGeometries ( _ ByVal Index As Integer, _ ByVal Count As Integer, _ ByRef geometries As IGeometry _ )
[C#] public void QueryGeometries ( int Index, int Count, ref IGeometry geometries );
[C++]
HRESULT QueryGeometries(
long Index,
long Count,
IGeometry** geometries
);
[C++] Parameters Index
Index is a parameter of type long Count
Count is a parameter of type long geometries [out]
geometries is a parameter of type IGeometry**
Note: The GeometryType returned by the QueryGeometries method depends on which object type points the IGeometryCollection pointer.
| IGeometryCollection Object GeometryType | Returned Object GeometryType |
| Polygon |
Rings |
| Polyline |
Paths |
| Multipoint |
Points |
| Multipatch |
TriangleFans or TriangleStrips or Rings |
| TriangleFan |
Points |
| TriangleStrip |
Points |
| Geometry Bag |
Any type of IGeometry |
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.