Class StorageItem (Outlook VBA)
A message object in MAPI that is always saved as a hidden item in the parent folder and stores private data for Outlook solutions.
Class Folder gives access to class StorageItem.
Dim sim as StorageItem
Set sim = Dim strStorageIdentifier As String: strStorageIdentifier =
Session.CreateSharingItem.Move.GetStorage(StorageIdentifier:=strStorageIdentifier, StorageIdentifierType:=olIdentifyByEntryID)
Methods
Delete - Permanently removes the StorageItem object from the parent folder.
Save - Saves the StorageItem.
Properties
Attachments returns an Attachments object that represents all the attachments for the specified item.
Body returns or sets a String representing the clear-text body of the Outlook item.
Class returns an OlObjectClass constant indicating the object's class.
CreationTime returns a DateTime value that indicates the creation time for the StorageItem.
EntryID returns a String representing the unique Entry ID of the object.
LastModificationTime returns a DateTime value specifying the date and time that the Outlook item was last modified.
PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent StorageItem object.
Session returns the NameSpace object for the current session.
Size returns a Long indicating the size (in bytes) of the StorageItem.
Subject returns or sets a String indicating the subject for the Outlook item.
UserProperties returns the UserProperties collection that represents all the user properties for the Outlook item.
Related Classes
Attachments - Contains a set of Attachment objects that represent the attachments in an Outlook item.
NameSpace - Represents an abstract root object for any data source.
PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.
UserProperties - Contains UserProperty objects that represent the custom properties of an Outlook item.