getValueCustomData (NotesItem - JavaScript)

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

Defined in

NotesItem

Syntax

getValueCustomData() : any

getValueCustomData(datatypename:string) : any

Parameter Description
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 Description
any 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 14 (USERDATA).