ArcGIS Pro 2.9 API Reference Guide
RemoveAllAttachments(MapMember,Int64) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class : 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.
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 11, Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members