Accessing item properties in LotusScript® classes

Property

Data type

Description

DateTimeValue

NotesDateTime

(Read-write) Date/time value of an item of type Date/time.

IsAuthors

Boolean

(Read-write) True if the item is of type Authors.

IsEncrypted

Boolean

(Read-write) True if the item is encrypted.

IsNames

Boolean

(Read-write) True if the item is of type Names.

IsProtected

Boolean

(Read-write) True if Editor access is required to modify.

IsReaders

Boolean

(Read-write) True if the item is of type Reader Names.

IsSigned

Boolean

(Read-write) True if the item is signed.

IsSummary

Boolean

(Read-write) True if the item contains summary data. Summary data can be displayed in a view or folder.

LastModified

Date/Time

(Read-only) Date and time the item was last modified.

Name

String

(Read-only) Name of the item.

Parent

NotesDocument

(Read-only) The document that contains the item.

SaveToDisk

Boolean

(Read-write) True if the item is saved to disk when the document is saved.

Text

String

(Read-only) Plain text representation of the item's value.

Type

Integer constant

(Read-only) The data type of an item.

ValueLength

Integer

(Read-only) Size in bytes of an item's values in bytes.

Values

String or double array, or string

(Read-write) Values that an item holds.

The Values property is a string for rich text items, an array of doubles for number and time-date items, and an array of strings for all other data types including plain text. For a single value in a non-rich text item, access element 0. If the item contains multiple values, access each array element, for example, in a Forall loop. Access a rich text item as a simple value, not an array.

The Text property of NotesItem displays the complete Values array with the display separator, typically the semicolon, between elements. This property converts non-text data types to text.