LOTUSSCRIPT/COM/OLE CLASSES
Read-write. The value(s) that an item holds.
Defined in
NotesItem
Data type
The data type depends upon the type of the item.
For reading, the data type of the item determines the data type of Values:
Syntax
To get: valueArray = notesItem.Values
To set: notesItem.Values = valueArray
Usage
For text, number, date-time items, and attachments this property always returns an array, even when there is only a single value in the item. If you know the item contains only a single value, access the first element in the array, which is at index 0. If you know the item contains multiple values, but you don't know how many, iterate over the array using the Forall statement.
For attachments, the attachment name can be passed to the GetAttachment method in NotesDocument.
This property returns the same value(s) for an item as the GetItemValue method in NotesDocument.
Language cross-reference
Values property in Java Item class
@Count function in formula language
@AttachmentNames function in formula language
Example See Also