ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / 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.

In This Topic
    RemoveAttachment(MapMember,Int64,Int64) Method
    In This Topic
    Remove an attachment from a row/feature with attachment support.
    Syntax
    public void RemoveAttachment( 
       MapMember mapMember,
       long oid,
       long attachmentOID
    )
    Public Sub RemoveAttachment( _
       ByVal mapMember As MapMember, _
       ByVal oid As Long, _
       ByVal attachmentOID As Long _
    ) 

    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