ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data Namespace / AttributedRelationshipClass Class / CreateRowBuffer Method

In This Topic
    CreateRowBuffer Method (AttributedRelationshipClass)
    In This Topic
    Creates a new row buffer instance in memory. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public RowBuffer CreateRowBuffer()
    Public Function CreateRowBuffer() As RowBuffer

    Return Value

    A RowBuffer used to set the values of user-defined fields of the attributed relationship.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Remarks

    No row is created in the database.

    The returned RowBuffer does not have an object ID value.

    Values can be set on the row buffer and it can be used as an argument to CreateRelationship(Row,Row,RowBuffer). If values are set for the origin foreign key field or destination foreign key field, they will be overwritten by the origin primary key value and destination primary key value at relationship creation time.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also