setValueCustomDataBytes (Item - Java)

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

Note: This method is new with Release 6.

Defined in

Item

Syntax

public void setValueCustomDataBytes(String datatypename, Byte bytearray)
    throws NotesException
    throws java.io.IOException

Parameters

String datatypename

A name for the data type. When getting custom data, use this name for verification.

Byte bytearray

A byte array that contains the custom data.

Usage

The new value replaces the existing value.

To keep the changes, you must call Document.save after calling setValueCustomData.

The custom data cannot exceed 64K.

Use this method if you intend to get the custom data through a language binding other than Java.

For methods that get custom data, see:

For other methods that write custom data to an item, see:

Example