ArcGIS Pro 2.6 API Reference Guide
RemovePoints Method (Patch)

ArcGIS.Core.Geometry Namespace > Patch Class : RemovePoints Method
The index from which the points are removed. Must be in the range [0, Coords.Count - 1] inclusive.
The index up to which the points are removed. Must be in the range [from, Coords.Count - 1] inclusive. The to index is excluded from the indices that are removed. For example, if from = 3, to = 7, then the points at indices 3, 4, 5, and 6 will be removed.
Removes a range of points.
Syntax
public void RemovePoints( 
   int from,
   int to
)
Public Sub RemovePoints( _
   ByVal from As Integer, _
   ByVal to As Integer _
) 

Parameters

from
The index from which the points are removed. Must be in the range [0, Coords.Count - 1] inclusive.
to
The index up to which the points are removed. Must be in the range [from, Coords.Count - 1] inclusive. The to index is excluded from the indices that are removed. For example, if from = 3, to = 7, then the points at indices 3, 4, 5, and 6 will be removed.
Exceptions
ExceptionDescription
from is less than zero or greater than or equal to Coords.Count.
to is less than from or greater than Coords.Count.
Remarks
If this patch has attributes Ms, IDs, Normals, or TextureCoords2D then the attributes will be removed also.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Patch Class
Patch Members