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


IPointCollection.SetWKSPoints 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.SetWKSPoints Method
ArcGIS Developer Help

IPointCollection.SetWKSPoints Method

Replaces all vertices of this Path, Ring, Polyline, or Polygon with new ones, or replaces all points of this Multipoint, TriangleFan, or TriangleStrip with new ones.

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

Count is a parameter of type long pointStructures [in]
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 to call this method.

See Also

IPointCollection Interface