ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / EditOperation Class / TransferAttributes Method / TransferAttributes(MapMember,Int64,MapMember,Int64,String) Method
The source mapMember.
The source feature (or row)'s OID
The target mapMember
The target feature (or row)'s OID
The override expression to use to map fields (null will use the stored expression, the empty string will auto-match attributes based on name).

In This Topic
    TransferAttributes(MapMember,Int64,MapMember,Int64,String) Method
    In This Topic
    Transfer attributes between two features or rows using the supplied expression to map fields.
    Syntax
    public void TransferAttributes( 
       MapMember source,
       long sourceOID,
       MapMember target,
       long targetOID,
       string expression
    )
    Public Overloads Sub TransferAttributes( _
       ByVal source As MapMember, _
       ByVal sourceOID As Long, _
       ByVal target As MapMember, _
       ByVal targetOID As Long, _
       ByVal expression As String _
    ) 

    Parameters

    source
    The source mapMember.
    sourceOID
    The source feature (or row)'s OID
    target
    The target mapMember
    targetOID
    The target feature (or row)'s OID
    expression
    The override expression to use to map fields (null will use the stored expression, the empty string will auto-match attributes based on name).
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also