SetValueCustomDataBytes (NotesItem - LotusScript®)

Sets the value of an item to custom data from a byte array.

Note: This method is new with Release 6.5.

Defined in

NotesItem

Syntax

Call notesItem .SetValueCustomDataBytes( dataTypeName$ , byteArray )

Parameters

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 value replaces the existing value.

To keep the changes, you must call NotesDocument.Save after calling SetValueCustomData.

The custom data cannot exceed 64K.

For methods that get custom data, see:

For another method that writes custom data to an item, see:

Example