getValueCustomData (Item - Java)

Returns as an object the value of an item containing custom data.

Note: This method is new with Release 6.

Defined in

Item

Syntax

public Object getValueCustomData()
    throws ClassNotFoundException
    throws NotesException
    throws java.io.IOException
public Object getValueCustomData(String datatypename)
    throws ClassNotFoundException
    throws NotesException
    throws java.io.IOException

Parameters

String datatypename

The name of the data type. If specified, this name must match the data type name specified when the item was written. If omitted, no name checking occurs.

Return value

Object

An object that receives the value of the item. Must have the same class definition as the object written to 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