HeaderPane
Main
Hide
Share Link
Print

CopyItemDataString Property, SftTree Object

Defines whether the Item.DataString property is copied or moved with an item.

Deprecated - Provided for compatibility with earlier versions only - Use Items.Move, Items.MoveAfter, Items.Copy and Items.CopyAfter instead

Syntax

Get

C#bool Boolean = object.CopyItemDataString;
VB.NETBoolean = object.CopyItemDataString As Boolean
C++VARIANT_BOOL Boolean = object->CopyItemDataString;
VARIANT_BOOL Boolean = object->GetCopyItemDataString();
CHRESULT object->get_CopyItemDataString(VARIANT_BOOL* Boolean);
VBBoolean = object.CopyItemDataString As Boolean

Put

C#bool object.CopyItemDataString = Boolean;
VB.NETobject.CopyItemDataString = Boolean As Boolean
C++VARIANT_BOOL object->CopyItemDataString = Boolean;
void object->PutCopyItemDataString(VARIANT_BOOL Boolean);
CHRESULT object->put_CopyItemDataString(VARIANT_BOOL Boolean);
VBobject.CopyItemDataString = Boolean As Boolean

object

A SftTree object.

Boolean

Defines whether the Item.DataString property is copied or moved with an item.

BooleanDescription
TrueThe deprecated MoveItem and CopyItem methods move/copy the Item.DataString property.
FalseThe deprecated MoveItem and CopyItem methods do not move/ copy the Item.DataString property.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.Move, Items.MoveAfter, Items.Copy and Items.CopyAfter instead

The CopyItemDataString property defines whether the Item.DataString property is copied or moved with an item.

The deprecated MoveItem and CopyItem methods do not move or copy the Item.DataString property when an item is moved or copied unless the CopyItemDataString property is set to True.

The CopyItemDataString property has no effect on the methods Items.Move, Items.MoveAfter, Items.Copy and Items.CopyAfter or the deprecated methods CopyItem/CopyItems and MoveItem/MoveItems, as these methods always copy the Item.DataString property.

See Also SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.