LOTUSSCRIPT/COM/OLE CLASSES

Working with custom data
You can store data of your own format in items. Use the following methods in the Document and Item classes:
DocumentItemDescription
GetItemValueCustomDataBytesGetValueCustomDataBytesGets custom data in the form of a byte array.
ReplaceItemValueCustomDataBytesSetValueCustomDataBytesWrites custom data in the form of a byte array.
An item that contains custom data is of type Item.USERDATA (14).

Note In Release 6, custom data was added for Java. In Release 6.5, custom data was added for CORBA, LotusScript, and COM.

When you store data, you can specify a data type name that must be supplied when you get the data.