ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / AddAttachment Method / AddAttachment(RowHandle,String) Method
The RowHandle representing the future row to add the attachment to.
The filesystem path to the file to attach to the row.
Version

AddAttachment(RowHandle,String) Method
Add an attachment to a row/feature with attachment support.
Syntax
public void AddAttachment( 
   RowHandle row,
   string filePath
)

Parameters

row
The RowHandle representing the future row to add the attachment to.
filePath
The filesystem path to the file to attach to the row.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also