ArcGIS Pro 2.9 API Reference Guide
IsAttachmentRelationship Method

ArcGIS.Core.Data Namespace > RelationshipClassDefinition Class : IsAttachmentRelationship Method
Gets a value which indicates if the relationship is used to enable attachment support for a table. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool IsAttachmentRelationship()
Public Function IsAttachmentRelationship() As Boolean

Return Value

true if the relationship is used to enable attachment support for a table; otherwise, false.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
If IsAtttachmentRelationship is true the methods on origin Table with Attachment should be used to work with this relationshipclass.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

RelationshipClassDefinition Class
RelationshipClassDefinition Members