ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / RemoveAttachment Method / RemoveAttachment(MapMember,Int64,Int64) Method
The MapMember (layer or standalone table) of the row to remove an attachment from.
The object identifier of the row to remove an attachment from.
The oid of the attachment to remove.
Version

RemoveAttachment(MapMember,Int64,Int64) Method
Remove an attachment from a row/feature with attachment support.
Syntax
public void RemoveAttachment( 
   MapMember mapMember,
   long oid,
   long attachmentOID
)

Parameters

mapMember
The MapMember (layer or standalone table) of the row to remove an attachment from.
oid
The object identifier of the row to remove an attachment from.
attachmentOID
The oid of the attachment to remove.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also