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


IPointCollection.QueryWKSPoints Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.QueryWKSPoints Method
ArcGIS Developer Help

IPointCollection.QueryWKSPoints Method

Copies vertices'/points' coordinates to the array of point structures.

[Visual Basic .NET]
Public Sub QueryWKSPoints ( _
    ByVal Index As Integer, _
    ByVal Count As Integer, _
    ByRef pointStructures As WKSPoint _
)
[C#]
public void QueryWKSPoints (
    int Index,
    int Count,
    ref WKSPoint pointStructures
);
[C++]
HRESULT QueryWKSPoints(
  long Index,
  long Count,
  WKSPoint* pointStructures
);
[C++]
Parameters
Index 

Index is a parameter of type long Count
Count is a parameter of type long pointStructures [out]
pointStructures is a parameter of type WKSPoint*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]

When using C# you must use the IGeometryBridge to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

IPointCollection Interface