ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Patch Class / InsertPoint(Int32,MapPoint) Method
The index at which the point will be inserted. Must be less or equal than Coords.Count. If the index is less than zero, the point will be added to end of the Coords list.
The point to insert.

In This Topic
    InsertPoint(Int32,MapPoint) Method
    In This Topic
    Inserts a point at the specified index.
    Syntax
    public void InsertPoint( 
       int index,
       MapPoint point
    )
    Public Sub InsertPoint( _
       ByVal index As Integer, _
       ByVal point As MapPoint _
    ) 

    Parameters

    index
    The index at which the point will be inserted. Must be less or equal than Coords.Count. If the index is less than zero, the point will be added to end of the Coords list.
    point
    The point to insert.
    Exceptions
    ExceptionDescription
    The point index is greater than Coords.Count.
    The point is null or empty.
    Remarks
    If this patch has attributes Ms or IDs, then the attributes will be inserted also. M and ID will be taken from the point if it has them. Otherwise, default values will be inserted. Similarly, if this patch has attributes TextureCoords2D or Normals, then default values will be inserted. The default value is (0, 0) for 2D texture coordinates and (0, 0, 1) for normals.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also