Share via


MobileItem Members (Outlook)

Represents a text message item (Short Message Service (SMS) message) or a multimedia message item (Multimedia Messaging Service (MMS) message).

Methods

Name

Description

Close

Closes and optionally saves changes to the Outlook item.

Copy

Creates another instance of the MobileItem object.

Delete

Deletes an object from the collection.

Display

Displays a new Inspector object for the item.

Forward

Executes the Forward action for an item and returns the resulting copy as a MobileItem object.

Move

Moves the MobileItem object to a new folder.

PrintOut

Prints the Outlook item.

Reply

Creates a reply, preaddressed to the original sender, from the original message.

ReplyAll

Creates a reply to all original recipients from the original message.

Save

Saves the MobileItem object to the current folder or, if this MobileItem object is new and has not been sent, it is saved to the default folder (Drafts) for this item type.

SaveAs

Saves the Microsoft Outlook item to the specified path and in the format of the specified file type.

Send

Sends the MobileItem object.

Properties

Name

Description

Actions

Returns an Actions collection that represents all the available actions for the MobileItem object. Read-only.

Application

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

Attachments

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

BillingInformation

Returns or sets a String that represents the billing information associated with the MobileItem object. Read/write.

Body

Returns or sets a String that represents the cleartext body of a MobileItem object. Read/write.

Categories

Returns or sets a String that represents the categories assigned to the MobileItem object. Read/write.

Class

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

Companies

Returns or sets a String that represents the names of the companies associated with the MobileItem object. Read/write.

ConversationIndex

Returns a String that indicates the relative position of the item within the conversation thread. Read-only.

ConversationTopic

Returns a String that represents the topic of the conversation thread of the item. Read-only.

Count

Returns a Long that represents the number of split messages for a Short Message Service (SMS) message, or the number of slides for a Multimedia Messaging Service (MMS) message. Read-only.

CreationTime

Returns a Date that indicates the creation time for the MobileItem object. Read-only.

EntryID

Returns a String that represents the unique entry ID of the object. Read-only.

FormDescription

Returns the FormDescription object that represents the form description for the specified MobileItem object. Read-only.

GetInspector

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

HTMLBody

Returns or sets a String that represents the HTML body of the specified MobileItem object. Read/write.

Importance

Returns or sets an OlImportance constant that indicates the relative importance level for the MobileItem object. Read/write.

ItemProperties

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

LastModificationTime

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

MessageClass

Returns or sets a String that represents the message class for the MobileItem object. Read/write.

Mileage

Returns or sets a String that represents the mileage for a MobileItem object. Read/write.

MobileFormat

Returns an OlMobileFormat constant that represents the message format of a mobile message. Read-only.

NoAging

Returns or sets a Boolean value that specifies whether to age the Microsoft Outlook item. Read/write.

OutlookInternalVersion

Returns a Long value that represents the build number of the Microsoft Outlook application for an Outlook item. Read-only.

OutlookVersion

Returns a String value that indicates the major and minor version number of the Microsoft Outlook application for an Outlook item. Read-only.

Parent

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

PropertyAccessor

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

ReceivedByEntryID

Returns a String value that represents the entry ID for the true recipient as set by the transport provider that delivers the e-mail message. Read-only.

ReceivedByName

Returns a String value that represents the display name of the true recipient for the MobileItem object. Read-only.

ReceivedTime

Returns a Date value that indicates the date and time at which the MobileItem object was received. Read-only.

Recipients

Returns a Recipients collection that represents all the recipients for the MobileItem object. Read-only.

ReplyRecipientNames

Returns a semicolon-delimited String list of display names of reply recipients of the MobileItem object. Read-only.

ReplyRecipients

Returns a Recipients collection that represents all the reply recipient objects for the MobileItem object. Read-only.

Saved

Returns a Boolean value that indicates whether the MobileItem object has been modified since the last save. Read-only.

SenderEmailAddress

Returns a String value that represents the mobile phone number of the sender of the MobileItem object. Read-only.

SenderEmailType

Returns a String value that represents the type of entry for the mobile address of the sender of the MobileItem object. Read-only.

SenderName

Returns a String value that indicates the display name of the sender for the MobileItem object. Read-only.

SendUsingAccount

Returns or sets an Account object that represents the account under which the MobileItem object is to be sent. Read/write.

Sensitivity

Returns or sets a constant in the OlSensitivity enumeration indicating the sensitivity for the MobileItem object. Read/write.

Sent

Returns a Boolean value that indicates whether the MobileItem object has been sent. Read-only.

SentOn

Returns a Date value that indicates the date and time at which the MobileItem object was sent. Read-only.

Session

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

Size

Returns a Long value that indicates the size, in bytes, of the MobileItem object. Read-only.

SMILBody

Returns or sets a String value in XML format that represents the Synchronized Multimedia Integration Language (SMIL) description of the content of a MobileItem object that is a Multimedia Messaging Service (MMS) message. Read/write.

Subject

Returns or sets a String value that indicates the subject for the MobileItem object. Read/write.

Submitted

Returns a Boolean value that indicates whether the items has been submitted. Read-only.

To

Returns or sets a semicolon-delimited String list of display names for the To recipients for the MobileItem object. Read/write.

UnRead

Returns or sets a Boolean value that indicates whether the MobileItem has not been opened (read). Read/write.

UserProperties

Returns the UserProperties collection that represents all the user-defined properties for the MobileItem object. Read-only.

Events

Name

Description

AfterWrite

Occurs after Microsoft Outlook has saved the item.

AttachmentAdd

Occurs when an attachment has been added to an instance of the parent object.

AttachmentRead

Occurs when an attachment in an instance of the parent object has been opened for reading.

AttachmentRemove

Occurs when an attachment has been removed from an instance of the parent object.

BeforeAttachmentAdd

Occurs before an attachment is added to an instance of the parent object.

BeforeAttachmentPreview

Occurs before an attachment that is associated with an instance of the parent object is previewed.

BeforeAttachmentRead

Occurs before an attachment that is associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.

BeforeAttachmentSave

Occurs just before an attachment is saved.

BeforeAttachmentWriteToTempFile

Occurs before an attachment that is associated with an instance of the parent object is written to a temporary file.

BeforeAutoSave

Occurs before Outlook automatically saves the item.

BeforeCheckNames

Occurs just before Microsoft Outlook starts resolving names in the recipient collection for an item (which is an instance of the parent object).

BeforeDelete

Occurs before an item (which is an instance of the parent object) is deleted.

BeforeRead

Occurs before Microsoft Outlook begins to read the properties for the item.

Close

Occurs when the inspector that is associated with an item (which is an instance of the parent object) is being closed.

CustomAction

Occurs when a custom action of an item (which is an instance of the parent object) executes.

CustomPropertyChange

Occurs when a custom property of an item (which is an instance of the parent object) is changed.

Forward

Occurs when the user selects the Forward action for an item, or when the Forward method is called for the item, which is an instance of the parent object.

Open

Occurs when an instance of the parent object is being opened in an Inspector.

PropertyChange

Occurs when an explicit built-in property (for example, Subject) of an instance of the parent object is changed.

Read

Occurs when the user opens an instance of the parent object for editing.

Reply

Occurs when the user selects the Reply action for an item, or when the Reply method is called for the item, which is an instance of the parent object.

ReplyAll

Occurs when the user selects the ReplyAll action for an item, or when the ReplyAll method is called for the item, which is an instance of the parent object.

Send

Occurs when the user selects the Send action for an item, or when the Send method is called for the item, which is an instance of the parent object.

Unload

Occurs before an item is unloaded from memory, either programmatically or by user action.

Write

Occurs when an instance of the parent object is saved, either explicitly (for example, using the Save or SaveAs method) or implicitly (for example, in response to a prompt when the user closes the item's inspector).