ArcGIS Pro 2.7 API Reference Guide
RemovePoints Method (MultipointBuilderEx)

ArcGIS.Core.Geometry Namespace > MultipointBuilderEx 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 [fromIndex, Coords.Count - 1] inclusive. The toIndex is excluded from the indices that are removed. For example, if fromIndex = 3, toIndex = 7, then the points at indices 3, 4, 5, and 6 will be removed.
Removes a range of points.
Syntax
public void RemovePoints( 
   int fromIndex,
   int toIndex
)
Public Sub RemovePoints( _
   ByVal fromIndex As Integer, _
   ByVal toIndex As Integer _
) 

Parameters

fromIndex
The index from which the points are removed. Must be in the range [0, Coords.Count - 1] inclusive.
toIndex
The index up to which the points are removed. Must be in the range [fromIndex, Coords.Count - 1] inclusive. The toIndex is excluded from the indices that are removed. For example, if fromIndex = 3, toIndex = 7, then the points at indices 3, 4, 5, and 6 will be removed.
Exceptions
ExceptionDescription
The range is out of bounds.
Remarks
If a point has Zs, Ms, or IDs, then the attributes will also be removed from the corresponding lists.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipointBuilderEx Class
MultipointBuilderEx Members