Examples: NoteID property (NotesDocument - LotusScript®)

This script gets the note ID of doc and places it into the nid variable.

Dim doc As NotesDocument
Dim nid As String
'...set value of doc...
nid = doc.NoteID