ArcObjects Library Reference  (Geometry)    

IGeometryBridge.QueryPoints Method

Copies some points to an existing array of points.

[Visual Basic 6.0]
Sub QueryPoints(
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Long, _
    ByVal Points() As IPoint _
[Visual Basic .NET]
Public Sub QueryPoints ( _
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Integer, _
    ByRef Points As IPoint[] _
public void QueryPoints (
    IPointCollection4 pPointCollection,
    int Index,
    ref IPoint[] Points
public void queryPoints (
    IPointCollection4 pPointCollection,
    int Index,
    IPoint[] Points
HRESULT QueryPoints(
  IPointCollection4* pPointCollection,
  long Index,
  Array* Points


pPointCollection [in]

  pPointCollection is a parameter of type IPointCollection4


  Index is a parameter of type long

Points [in, out]

  Points is a parameter of type Array

Product Availability

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


All development languages compatible version of IPointCollection::QueryPoints.

When calling this method no count parameter is needed. The length of the array parameter will be used in place of the explicit number given in the IPointCollection::QueryPoints call.  This also requires that the array parameter given to IGeometryBridge::QueryPoints can not be longer than the length of the PointCollection minus the index parameter.

See Also

IGeometryBridge Interface