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

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

    Parameters

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

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also