JAVA/CORBA CLASSES


setValueCustomData method
Example

Sets the value of an item to custom data from an object.

Note This method is new with Release 6.

Defined in

Item

Syntax

public void setValueCustomData(Object userobj)
   throws NotesException
   throws java.io.IOException

public void setValueCustomData(String datatypename, Object userobj)
   throws NotesException
   throws java.io.IOException

Parameters

Object userobj


String datatypename
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.

If you intend to get the custom data through a language binding other than Java, use a "Bytes" method.

For methods that get custom data, see:


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