ArcGIS Pro 2.7 API Reference Guide
RemoveAllAttachments Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class : RemoveAllAttachments 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.
Remove all attachments from a row/feature with attachment support.
Syntax
public void RemoveAllAttachments( 
   MapMember member,
   long oid
)
Public Sub RemoveAllAttachments( _
   ByVal member As MapMember, _
   ByVal oid As Long _
) 

Parameters

member
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 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members