ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / AddAttachment Method / AddAttachment(Table,Int64,String) Method
The table of the row to update an attachment to.
The object identifier of the row to add an attachment to.
The filesystem path to the file to attach to the row.
Version

AddAttachment(Table,Int64,String) Method
Add an attachment to a row/feature with attachment support.
Syntax
public void AddAttachment( 
   Table table,
   long oid,
   string filePath
)

Parameters

table
The table of the row to update an attachment to.
oid
The object identifier of the row to add an 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.4 or higher.
See Also