SftTree/OCX 7.0

SftTree.CopyItemDataString Property

Softel vdm, Inc.

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

VB.NET

Boolean = object.CopyItemDataString  As Boolean

VB

Boolean = object.CopyItemDataString  As Boolean

C#.NET

bool Boolean = object.CopyItemDataString;

VC++

VARIANT_BOOL Boolean = object->CopyItemDataString;
VARIANT_BOOL Boolean = object->GetCopyItemDataString();

C

HRESULT object->get_CopyItemDataString(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.CopyItemDataString   : WordBool;

Put

VB.NET

object.CopyItemDataString = Boolean  As Boolean

VB

object.CopyItemDataString = Boolean  As Boolean

C#.NET

bool object.CopyItemDataString = Boolean;

VC++

VARIANT_BOOL object->CopyItemDataString = Boolean;
void object->PutCopyItemDataString(VARIANT_BOOL Boolean);

C

HRESULT object->put_CopyItemDataString(VARIANT_BOOL Boolean);

Delphi

object.CopyItemDataString := Boolean   : WordBool;

object

A SftTree object.

Boolean

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

Boolean

Description

True

The deprecated MoveItem and CopyItem methods move/copy the Item.DataString property.

False

The 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 CopyItems and MoveItems, as these methods always copy the Item.DataString property.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com