ArcGIS Pro 3.3 API Reference Guide
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.

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

    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