brWrite Method

Writes an item to the D3 file associated with the clsD3File object, overwriting the previous contents of the item.

Syntax

object.brWrite oDynArrayItem, sItemName, [vColumn], [bLocking]

Parameters

Parameter

Description

object

An object variable that represents a clsD3File object.

oDynArrayItem

An object variable that represents a clsD3DynamicArray object that contains the item to be written.

sItemName

A String specifying the item-id of the item to write.

vColumn

Optional and not recommended. Provided only for legacy applications. A Variant specifying either the attribute-defining item or the attribute number.

NOTE: To write a specific attribute on an item in a D3 file, use, instead, the brWriteV or brWriteVU method.

bLocking

Optional and not recommended. Provided only for legacy applications. A constant indicating whether to keep the update lock set, as specified in Settings. The default is d3Item_WriteUnLock.

NOTE: To write an item with locking, use, instead, the brWriteU method.

FlashBASIC Reference

write