LOTUSSCRIPT/COM/OLE CLASSES


ReplaceItemValueCustomDataBytes method
Example

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.

Note This method is new with Release 6.5.

Defined in

NotesDocument

Syntax

Call notesDocument.ReplaceItemValueCustomDataBytes( itemName$ , dataTypeName$ , byteArray )

Parameters

itemName$


dataTypeName$
byteArray
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:
Language cross-reference

replaceItemValueCustomDataBytes method in Java Document class

Example
See Also