DocumentItem object (Outlook)

Represents any document other than a Microsoft Outlook item as an item in an Outlook folder.

Remarks

A DocumentItem object is any document other than an Outlook item as an item in an Outlook folder. In common usage, this will be an Office document but may be any type of document or executable file.

Unlike other Outlook objects, you cannot create this object.

Note

When you try to programmatically add a user-defined property to a DocumentItem object, you receive the following error message: "Property is read-only." This is because the Outlook object model does not support this functionality.

Events

Name
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
Forward
Open
PropertyChange
Read
ReadComplete
Reply
ReplyAll
Send
Unload
Write

Methods

Name
Close
Copy
Delete
Display
Move
PrintOut
Save
SaveAs
ShowCategoriesDialog

Properties

Name
Actions
Application
Attachments
AutoResolvedWinner
BillingInformation
Body
Categories
Class
Companies
Conflicts
ConversationIndex
ConversationTopic
CreationTime
DownloadState
EntryID
FormDescription
GetInspector
Importance
IsConflict
ItemProperties
LastModificationTime
MarkForDownload
MessageClass
Mileage
NoAging
OutlookInternalVersion
OutlookVersion
Parent
PropertyAccessor
Saved
Sensitivity
Session
Size
Subject
UnRead
UserProperties

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.