ArcGIS Pro 2.7 API Reference Guide
RemoveAttachment Method

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

Parameters

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

See Also

Reference

EditOperation Class
EditOperation Members