ArcGIS Pro 2.9 API Reference Guide
InsertEx Method

ArcGIS.Core.Data Namespace > InsertCursor Class : InsertEx Method
A RowBuffer with the field values to be set for the new row.
Inserts a new Row into the Table with a system-assigned object ID. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public long InsertEx( 
   RowBuffer rowBuffer
)
Public Function InsertEx( _
   ByVal rowBuffer As RowBuffer _
) As Long

Parameters

rowBuffer
A RowBuffer with the field values to be set for the new row.

Return Value

The object ID of the newly-inserted row.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

InsertCursor Class
InsertCursor Members