NoteItem Object

Multiple objects

Represents a note in a Notes folder.

A NoteItem    is not customizable. If you open a new note, you will notice that it is not possible to place it in design time.

The Subject property of a NoteItem    object is read-only because it is calculated from the body text of the note. Also, the NoteItem    Body can only be rich text, so the properties that correspond to HTML and Microsoft Word content do not apply. Although the GetInspector property will work on notes, because notes can't be customized, some of the Inspector properties and methods will not apply to a NoteItem   .

Using the NoteItem Object

Use the CreateItem method to create a NoteItem    object that represents a new note. The following Microsoft Visual Basic example returns a new note.

Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olNoteItem)

The following example shows how to create a NoteItem    object using Microsoft Visual Basic Scripting Edition (VBScript).

Set myItem = Application.CreateItem(5)

Use Items (index), where index is the index number of a note or a value used to match the default property of a note, to return a single NoteItem    object from a Notes folder.

Properties | Application Property | AutoResolvedWinner Property | Body Property | Categories Property | Class Property | Color Property | Conflicts Property | CreationTime Property | DownloadState Property | EntryID Property | GetInspector Property | Height Property | IsConflict Property | ItemProperties Property | LastModificationTime Property | Left Property | Links Property | MarkForDownload Property | MessageClass Property | Parent Property | Saved Property | Session Property | Size Property | Subject Property | Top Property | Width Property

Methods | Close Method | Copy Method | Delete Method | Display Method | Move Method | PrintOut Method | Save Method | SaveAs Method

Parent Objects

Child Objects | Conflicts Object | ItemProperties Object | Links Object

See Also | Session Property | Size Property