ArcGIS Pro 2.7 API Reference Guide
TransferAttributes(MapMember,Int64,MapMember,Int64,String) Method

ArcGIS.Desktop.Editing Namespace > EditOperation Class > TransferAttributes Method : TransferAttributes(MapMember,Int64,MapMember,Int64,String) Method
The source layer (or standalone table)
The source feature (or row)'s OID
The target layer (or standalone table)
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).
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 layer (or standalone table)
sourceOID
The source feature (or row)'s OID
target
The target layer (or standalone table)
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 10, Windows 8.1

See Also

Reference

EditOperation Class
EditOperation Members
Overload List