IsValid (NotesDocument - LotusScript®)

Read-only. Indicates whether a Document object represents an existing document (not a deletion stub) initially.

Defined in

NotesDocument

Data type

Boolean

Syntax

To get: flag = notesDocument .IsValid

Legal values

  • True indicates that the document exists.
  • False indicates that the document is a deletion stub.

Usage

IsValid is set once and reflects the state of the document when the Document object is created. Use IsDeleted to see if a valid document is deleted while you are working on it.

Example