ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / RemoveAllAttachments Method / 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 Overloads Sub RemoveAllAttachments( _
       ByVal mapMember As MapMember, _
       ByVal oid As Long _
    ) 
    public void RemoveAllAttachments( 
       MapMember mapMember,
       long oid
    )

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also