LOTUSSCRIPT/COM/OLE CLASSES


Accessing item properties in LotusScript classes
Example

This table contains a list of NotesItem properties.

PropertyData typeDescription
DateTimeValueNotesDateTime(Read-write) Date/time value of an item of type Date/time.
IsAuthorsBoolean(Read-write) True if the item is of type Authors.
IsEncryptedBoolean(Read-write) True if the item is encrypted.
IsNamesBoolean(Read-write) True if the item is of type Names.
IsProtectedBoolean(Read-write) True if Editor access is required to modify.
IsReadersBoolean(Read-write) True if the item is of type Reader Names.
IsSignedBoolean(Read-write) True if the item is signed.
IsSummaryBoolean(Read-write) True if the item contains summary data. Summary data can be displayed in a view or folder.
LastModifiedDate/Time(Read-only) Date and time the item was last modified.
NameString(Read-only) Name of the item.
ParentNotesDocument(Read-only) The document that contains the item.
SaveToDiskBoolean(Read-write) True if the item is saved to disk when the document is saved.
TextString(Read-only) Plain text representation of the item's value.
TypeInteger constant(Read-only) The data type of an item.
ValueLengthInteger(Read-only) Size in bytes of an item's values in bytes.
ValuesString 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.

Example
See Also