ArcGIS Pro 2.7 API Reference Guide
SetPoint(Int32,MapPoint) Method

ArcGIS.Core.Geometry Namespace > Patch Class : SetPoint(Int32,MapPoint) Method
The index of the point to set. Must be in the range [0, Coords.Count - 1] inclusive.
The point to set. Cannot be null or empty.
Sets a point at the specified index.
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 set. Must be in the range [0, Coords.Count - 1] inclusive.
point
The point to set. Cannot be null or empty.
Exceptions
ExceptionDescription
The point index is less than zero or greater than or equal to Coords.Count.
The point is null or empty.
Remarks
If this patch has attributes Ms or IDs, then the attributes will be set also. M and ID will be taken from the point if it has them. Otherwise, default values will be set. Similarly, if this patch has attributes TextureCoords2D or Normals, then default values will be set. If the patch has texture coordinates or normals, then a default value is set. The default value is (0, 0) for 2D texture coordinates and (0, 0, 1) for normals.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Patch Class
Patch Members