_StorageItem _StorageItem _StorageItem Interface

Definition

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see StorageItem.

public interface class _StorageItem
[System.Runtime.InteropServices.Guid("000630CB-0000-0000-C000-000000000046")]
public interface _StorageItem
Public Interface _StorageItem
Derived
Attributes

Properties

Application Application Application

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

Attachments Attachments Attachments

Returns an Attachments object that represents all the attachments for the specified item. Read-only.

Body Body Body

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

Class Class Class

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

CreationTime CreationTime CreationTime

Returns a DateTime value that indicates the creation time for the StorageItem. Read-only.

Creator Creator Creator

Returns and sets a String (string in C#) that represents the solution that created the StorageItem object. Read/write.

EntryID EntryID EntryID

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

LastModificationTime LastModificationTime LastModificationTime

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

Parent Parent Parent

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

PropertyAccessor PropertyAccessor PropertyAccessor

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

Session Session Session

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

Size Size Size

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

Subject Subject Subject

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

UserProperties UserProperties UserProperties

Returns the UserProperties collection that represents all the user properties for the Outlook item. Read-only.

Methods

Delete() Delete() Delete()

Permanently removes the StorageItem object from the parent folder.

Save() Save() Save()

Saves the StorageItem.

Applies to