Class NoteItem (Outlook VBA)

The class NoteItem represents a note in a Notes folder.


Dim nim as NoteItem
Set nim = Session.CreateSharingItem.Move.Items(Index:=1)

For Each

Here is an example of processing the NoteItem items in a collection.


Dim nimItem As NoteItem
For Each nimItem In Session.CreateSharingItem.Move.Items
	
Next nimItem

Methods

Close - Closes and optionally saves changes to the Outlook item.

Copy - Creates another instance of an noteitem.

Delete - Removes the item from the folder that contains the item.

Display - Displays a new Inspector object for the item.

Move - Moves a Microsoft Outlook item to a new folder.

PrintOut - Prints the Outlook item using all default settings.The PrintOut method is the only Outlook method that can be used for printing.

Save - Saves the Microsoft Outlook item to the current folder or, if this is a new item, to the Outlook default folder for the item type.

SaveAs - Saves the Microsoft Outlook item to the specified path and in the format of the specified file type. If the file type is not specified, the MSG format (.msg) is used.

Properties

AutoResolvedWinner returns a Boolean that determines if the item is a winner of an automatic conflict resolution.

Body returns or sets a String representing the clear-text body of the Outlook item.

Categories returns or sets a String representing the categories assigned to the Outlook item.

Class returns an OlObjectClass constant indicating the object's class.

Conflicts return the Conflicts object that represents the items that are in conflict for any Outlook item object.

CreationTime returns a Date indicating the creation time for the Outlook item.

DownloadState returns a constant that belongs to the OlDownloadState enumeration indicating the download state of the item.

EntryID returns a String representing the unique Entry ID of the object.

GetInspector returns an Inspector object that represents an inspector initialized to contain the specified item.

Height returns or sets a Long specifying the height (in pixels) of the note window.

IsConflict returns a Boolean that determines if the item is in conflict.

ItemProperties returns an ItemProperties collection that represents all standard and user-defined properties associated with the Outlook item.

LastModificationTime returns a Date specifying the date and time that the Outlook item was last modified.

Left returns or sets a Long specifying the position (in pixels) of the left vertical edge of a note window from the edge of the screen.

MarkForDownload returns or sets an OlRemoteStatus constant that determines the status of an item once it is received by a remote user.

MessageClass returns or sets a String representing the message class for the Outlook item.

PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent NoteItem object.

Saved returns a Boolean value that is True if the Outlook item has not been modified since the last save.

Session returns the NameSpace object for the current session.

Size returns a Long indicating the size (in bytes) of the Outlook item.

Subject returns or sets a String indicating the subject for the Outlook item.

Top returns or sets a Long indicating the position (in pixels) of the top horizontal edge of a note window from the edge of the screen.

Width returns or sets a Long indicating the width (in pixels) of the specified object.

Conflicts - Contains a collection of Conflict objects that represent all Microsoft Outlook items that are in conflict with a particular Outlook item.

Folder - Represents an Outlook folder.

Inspector - Represents the window in which an Outlook item is displayed.

ItemProperties - A collection of all properties associated with the item.

NameSpace - Represents an abstract root object for any data source.

PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.