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

RemoveAllAttachments(MapMember,Int64) Method
Remove all attachments from a row/feature with attachment support.
Syntax
public void RemoveAllAttachments( 
   MapMember mapMember,
   long oid
)

Parameters

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

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also