NoteItem NoteItem NoteItem Interface

Definition

Represents a note in a Notes folder.

public interface class NoteItem : Microsoft::Office::Interop::Outlook::_NoteItem
[System.Runtime.InteropServices.Guid("00063025-0000-0000-C000-000000000046")]
public interface NoteItem : Microsoft.Office.Interop.Outlook._NoteItem
Public Interface NoteItem
Implements _NoteItem
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _NoteItem. For information about the event members of the COM object, see ItemEvents_Event.

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 NoteItemBody 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, methods, and events will not apply to NoteItem objects.

Use the CreateItem(OlItemType) method to create a NoteItem object that represents a new note.

Use Item[Object](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 Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _NoteItem)

AutoResolvedWinner AutoResolvedWinner AutoResolvedWinner

Returns a Boolean (bool in C#) that determines if the item is a winner of an automatic conflict resolution. Read-only.

(Inherited from _NoteItem)

Body Body Body

Returns or sets a String (string in C#) representing the clear-text body of the Outlook item. Read/write.

(Inherited from _NoteItem)

Categories Categories Categories

Returns or sets a String (string in C#) representing the categories assigned to the Outlook item. Read/write.

(Inherited from _NoteItem)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _NoteItem)

Color Color Color

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _NoteItem)

Conflicts Conflicts Conflicts

Return the Conflicts object that represents the items that are in conflict for any Outlook item object. Read-only.

(Inherited from _NoteItem)

CreationTime CreationTime CreationTime

Returns a DateTime indicating the creation time for the Outlook item. Read-only.

(Inherited from _NoteItem)

DownloadState DownloadState DownloadState

Returns a constant that belongs to the OlDownloadState enumeration indicating the download state of the item. Read-only.

(Inherited from _NoteItem)

EntryID EntryID EntryID

Returns a String (string in C#) representing the unique Entry ID of the object. Read-only.

(Inherited from _NoteItem)

GetInspector GetInspector GetInspector

Returns an Inspector object that represents an inspector initialized to contain the specified item. Read-only.

(Inherited from _NoteItem)

Height Height Height

Returns or sets an Integer (int in C#) value specifying the height (in pixels) of the note window. Read/write.

(Inherited from _NoteItem)

IsConflict IsConflict IsConflict

Returns a Boolean (bool in C#) that determines if the item is in conflict. Read-only.

(Inherited from _NoteItem)

ItemProperties ItemProperties ItemProperties

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

(Inherited from _NoteItem)

LastModificationTime LastModificationTime LastModificationTime

Returns a DateTime specifying the date and time that the Outlook item was last modified. Read-only.

(Inherited from _NoteItem)

Left Left Left

Returns or sets an Integer (int in C#) value specifying the position (in pixels) of the left vertical edge of a note window from the edge of the screen. Read/write.

(Inherited from _NoteItem)

This object, member, or enumeration is deprecated and is not intended to be used in your code.

(Inherited from _NoteItem)

MarkForDownload MarkForDownload MarkForDownload

Returns or sets an OlRemoteStatus constant that determines the status of an item once it is received by a remote user. Read/write.

(Inherited from _NoteItem)

MessageClass MessageClass MessageClass

Returns or sets a String (string in C#) representing the message class for the Outlook item. Read/write.

(Inherited from _NoteItem)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _NoteItem)

PropertyAccessor PropertyAccessor PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent NoteItem object. Read-only.

(Inherited from _NoteItem)

Saved Saved Saved

Returns a Boolean (bool in C#) value that is True if the Outlook item has not been modified since the last save. Read-only.

(Inherited from _NoteItem)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _NoteItem)

Size Size Size

Returns an Integer (int in C#) value indicating the size (in bytes) of the Outlook item. Read-only.

(Inherited from _NoteItem)

Subject Subject Subject

Returns or sets a String (string in C#) indicating the subject for the Outlook item. Read-only.

(Inherited from _NoteItem)

Top Top Top

Returns or sets an Integer (int in C#) value indicating the position (in pixels) of the top horizontal edge of a note window from the edge of the screen. Read/write.

(Inherited from _NoteItem)

Width Width Width

Returns or sets an Integer (int in C#) value indicating the width (in pixels) of the specified object. Read/write.

(Inherited from _NoteItem)

Methods

Close(OlInspectorClose) Close(OlInspectorClose) Close(OlInspectorClose)

Closes and optionally saves changes to the Outlook item.

(Inherited from _NoteItem)

Copy() Copy() Copy()

Creates another instance of an object.

(Inherited from _NoteItem)

Delete() Delete() Delete()

Removes the item from the folder that contains the item.

(Inherited from _NoteItem)

Display(Object) Display(Object) Display(Object)

Displays a new Inspector object for the item.

(Inherited from _NoteItem)

Move(MAPIFolder) Move(MAPIFolder) Move(MAPIFolder)

Moves a Microsoft Outlook item to a new folder.

(Inherited from _NoteItem)

PrintOut() PrintOut() PrintOut()

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

(Inherited from _NoteItem)

Save() Save() 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.

(Inherited from _NoteItem)

SaveAs(String, Object) SaveAs(String, Object) SaveAs(String, Object)

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.

(Inherited from _NoteItem)

Applies to