ArcGIS Pro 2.7 API Reference Guide
SetPoint Method (MultipointBuilderEx)

ArcGIS.Core.Geometry Namespace > MultipointBuilderEx Class : SetPoint Method
The index of the point to modify. Must be in the range [0, Coords.Count - 1] inclusive.
The MapPoint to set. It cannot be null.
A convenience method to update the components of a point.
Syntax
public void SetPoint( 
   int index,
   MapPoint point
)
Public Sub SetPoint( _
   ByVal index As Integer, _
   ByVal point As MapPoint _
) 

Parameters

index
The index of the point to modify. Must be in the range [0, Coords.Count - 1] inclusive.
point
The MapPoint to set. It cannot be null.
Exceptions
ExceptionDescription
The input point is null.
The point index is < 0 or the point index is >= Coords.Count.
Remarks
The XY-coordinates of the point are set in the Coords list. If the point property HasZ is true, and this builder property HasZ is true, then the Z-value of the point is set in the Zs list. The same is true for Ms and IDs. If the point is missing any of the attributes (Z, M, or ID) that are present in this builder, a default value is used. The default value for Z is zero, M is NaN, and ID is zero. If a point has an attribute that is missing in the builder, the attribute is ignored.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MultipointBuilderEx Class
MultipointBuilderEx Members