ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / UpdateAttachment Method / UpdateAttachment(Table,Int64,Int64,String) Method
The table of the row to update an attachment to.
The object identifier of the row to update an attachment to.
The oid of the attachment to update.
The filesystem path to the file to attach to the row.

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

    Parameters

    table
    The table of the row to update an attachment to.
    oid
    The object identifier of the row to update an attachment to.
    attachmentOID
    The oid of the attachment to update.
    filePath
    The filesystem path to the file to attach to the row.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.4 or higher.
    See Also