ReplaceItemValueCustomDataBytes (NotesDocument - LotusScript®)
Replaces all items of the specified name with one new item, which is assigned custom data from a byte array. If the document does not contain an item with the specified name, this method creates a new item and adds it to the document.
Defined in
Syntax
Call notesDocument .ReplaceItemValueCustomDataBytes( itemName$ , dataTypeName$ , byteArray )
Parameters
itemName$
String. The name of the item.
dataTypeName$
String. A name for the data type. When getting custom data, use this name for verification.
byteArray
Array of type Byte. The custom data.
Usage
The new item replaces all previous items with the same name.
To keep the changes, you must call Save after calling ReplaceItemValueCustomData.
The custom data cannot exceed 64K.
For methods that get custom data, see:
For another method that writes custom data to an item, see: