ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / UpdateAttachment Method / UpdateAttachment(RowHandle,Int64,String) Method
The RowHandle representing the future row to add the attachment to.
The oid of the attachment to remove.
The filesystem path to the file to attach to the row.

In This Topic
    UpdateAttachment(RowHandle,Int64,String) Method
    In This Topic
    Update an attachment to a row/feature with attachment support.
    Syntax
    public void UpdateAttachment( 
       RowHandle rowHandle,
       long attachmentOID,
       string filePath
    )
    Public Overloads Sub UpdateAttachment( _
       ByVal rowHandle As RowHandle, _
       ByVal attachmentOID As Long, _
       ByVal filePath As String _
    ) 

    Parameters

    rowHandle
    The RowHandle representing the future row to add the attachment to.
    attachmentOID
    The oid of the attachment to remove.
    filePath
    The filesystem path to the file to attach to the row.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also