getItemValueCustomDataBytes (Document - Java)

Returns as a byte array the value of an item containing custom data.

Note: This method is new with Release 6.

Defined in

Document

Syntax

public bytes[] getItemValueCustomDataBytes(String itemname, String datatypename)
    throws NotesException
    throws java.io.IOException

Parameters

String itemname

The name of the item.

String datatypename

The name of the data type. This name must match the data type name specified when the item was written.

Return value

bytes[]

A byte array that receives the value of the item.

Usage

An item that contains custom data is of type Item.USERDATA (14).

For other methods that get custom data, see:

To write custom data to an item, see:

Example