ArcGIS Pro 2.7 API Reference Guide
AddAttachment(RowHandle,String) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > AddAttachment Method : AddAttachment(RowHandle,String) Method
The RowHandle representing the future feature to add the attachment to.
The filesystem path to the file to attach to the feature.
Add an attachment to a row/feature with attachment support.
Syntax
public void AddAttachment( 
   RowHandle row,
   string filePath
)
Public Overloads Sub AddAttachment( _
   ByVal row As RowHandle, _
   ByVal filePath As String _
) 

Parameters

row
The RowHandle representing the future feature to add the attachment to.
filePath
The filesystem path to the file to attach to the feature.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List