ArcObjects Library Reference  (Geometry)    

IGeometryBridge.QueryGeometries Method

Populates the array with references to a sub-sequence of geometries.

[Visual Basic 6.0]
Sub QueryGeometries(
    ByVal pGeometryCollection As IGeometryCollection, _
    ByVal Index As Long, _
    ByVal geometries() As IGeometry _
)
[Visual Basic .NET]
Public Sub QueryGeometries ( _
    ByVal pGeometryCollection As IGeometryCollection, _
    ByVal Index As Integer, _
    ByRef geometries As IGeometry[] _
)
[C#]
public void QueryGeometries (
    IGeometryCollection pGeometryCollection,
    int Index,
    ref IGeometry[] geometries
);
[Java]
public void queryGeometries (
    IGeometryCollection pGeometryCollection,
    int Index,
    IGeometry[] geometries
)
throws
    IOException,
    AutomationException
[C++]
HRESULT QueryGeometries(
  IGeometryCollection* pGeometryCollection,
  long Index,
  Array* geometries
);
[C++]

Parameters

pGeometryCollection [in]

  pGeometryCollection is a parameter of type IGeometryCollection

Index

  Index is a parameter of type long

geometries [in, out]

  geometries is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of IGeometryCollection::QueryGeometries.

See Also

IGeometryBridge Interface

Example

IGeometryBridge_QueryGeometries_Example