Transfers attribute values from one row to another based on a fieldmap.
| Interfaces | Description |
|---|---|
| IAttributeTransfer (esriEditor) | Provides access to members that control the behavior of the attribute transfer tools. |
| IAttributeTransferDefaultSettings (esriEditor) | Provides access to members that control the behavior of the attribute transfer tools. |
| IClone (esriSystem) | Provides access to members that control cloning of objects. |
| IPersistStream (esriSystem) |
This object represents an Attribute Transfer environment within the Editor. The current environment may be retrieved from the Editor or the user may instantiate a new one. To perform an attribute transfer, first define a field map via the FieldMap coClass and then perform a transfer through the IAttributeTransfer interface.
The following code shows an example of obtaining an instance of AttributeTransfer via the editor.
Private Sub test()
Dim pAttTrans As IAttributeTransfer
Dim pEditor As IEditor
Dim pAttTransType As IAttributeTransferType
Set pEditor = Application.FindExtensionByName("ESRI Object Editor")
Set pAttTransType = pEditor
Set pAttTrans = pAttTransType.AttributeTransfer
End Sub