ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / UpdateAttachment Method / UpdateAttachment(MapMember,Int64,Int64,String) Method
The MapMember (layer or standalone table) of the row to add an attachment to.
The object identifier of the row to add an attachment to.
The oid of the attachment to remove.
The filesystem path to the file to attach to the row.
Version

UpdateAttachment(MapMember,Int64,Int64,String) Method
Update an attachment to a row/feature with attachment support.
Syntax
public void UpdateAttachment( 
   MapMember mapMember,
   long oid,
   long attachmentOID,
   string filePath
)

Parameters

mapMember
The MapMember (layer or standalone table) of the row to add an attachment to.
oid
The object identifier of the row to add an attachment to.
attachmentOID
The oid of the attachment to remove.
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