Parameters
- attachment
- The attachment to be associated with the row.
Return Value
The ID of the attachment after it has been associated with the row.
Exception | Description |
---|---|
ArcGIS.Core.Data.Exceptions.GeodatabaseAttachmentNotEnabledException | The table or feature class has not been enabled for attachment creation. |
System.ArgumentNullException | attachment is null. |
System.ArgumentException | attachment's Data, Name or ContentType property is null or an empty string. |
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
Target Platforms: Windows 11, Windows 10