Partager via


MobileItem Members

Include Protected Members
Include Inherited Members

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

The MobileItem type exposes the following members.

Properties

  Name Description
Public property Actions Returns an Actions collection that represents all the available actions for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _MobileItem.)
Public property Attachments Returns an Attachments object that represents all the attachments for the specified MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property BillingInformation Returns or sets a String (string in C#) that represents the billing information associated with the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Body Returns or sets a String (string in C#) that represents the clear-text body of a MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Categories Returns or sets a String (string in C#) that represents the categories assigned to the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Class Returns an OlObjectClass constant that indicates the object's class. Read-only. (Inherited from _MobileItem.)
Public property Companies Returns or sets a String (string in C#) that represents the names of the companies associated with the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property ConversationIndex Returns a String (string in C#) that indicates the relative position of the within the conversation thread. Read-only. (Inherited from _MobileItem.)
Public property ConversationTopic Returns a String (string in C#) that represents the topic of the conversation thread of the item. Read-only. (Inherited from _MobileItem.)
Public property Count Returns a Integer (int in C#) 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. (Inherited from _MobileItem.)
Public property CreationTime Returns a DateTime value that indicates the creation time for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property EntryID Returns a String (string in C#) that represents the unique entry ID of the object. Read-only. (Inherited from _MobileItem.)
Public property FormDescription Returns the FormDescription object that represents the form description for the specified MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property GetInspector Returns an Inspector object that represents an inspector initialized to contain the specified MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property HTMLBody Returns or sets a String (string in C#) that represents the HTML body of the specified MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Importance Returns or sets an OlImportance constant that indicates the relative importance level for the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property ItemProperties Returns an ItemProperties collection that represents all standard and user-defined properties associated with the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property LastModificationTime Returns a DateTime that specifies the date and time that the Outlook item was last modified. Read-only. (Inherited from _MobileItem.)
Public property MAPIOBJECT This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _MobileItem.)
Public property MessageClass Returns or sets a String (string in C#) that represents the message class for the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Mileage Returns or sets a String (string in C#) that represents the mileage for a MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property MobileFormat Returns an OlMobileFormat constant that represents the message format of a mobile message. Read-only. (Inherited from _MobileItem.)
Public property NoAging Returns or sets a Boolean (bool in C#) value that specifies whether to age the Microsoft Outlook item. Read/write. (Inherited from _MobileItem.)
Public property OutlookInternalVersion Returns an Integer (int in C#) that represents the build number of the Microsoft Outlook application for an Outlook item. Read-only. (Inherited from _MobileItem.)
Public property OutlookVersion Returns a String (string in C#) value that indicates the major and minor version number of the Microsoft Outlook application for an Outlook item. Read-only. (Inherited from _MobileItem.)
Public property Parent Returns the parent Object (object in C#) of the specified MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property PropertyAccessor Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property ReceivedByEntryID Returns a String (string in C#) value that represents the entry ID for the true recipient as set by the transport provider that delivers the e-mail message. Read-only. (Inherited from _MobileItem.)
Public property ReceivedByName Returns a String (string in C#) value that represents the display name of the true recipient for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property ReceivedTime Returns a DateTime value that indicates the date and time at which the MobileItem object was received. Read-only. (Inherited from _MobileItem.)
Public property Recipients Returns a Recipients collection that represents all the recipients for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property ReplyRecipientNames Returns a semicolon-delimited String (string in C#) list of display names of reply recipients of the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property ReplyRecipients Returns a Recipients collection that represents all the reply recipient objects for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property Saved Returns a Boolean (bool value in C#) that indicates whether the MobileItem object has been modified since the last save. Read-only. (Inherited from _MobileItem.)
Public property SenderEmailAddress Returns a String (string value in C#) that represents the mobile phone number of the sender of the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property SenderEmailType Returns a String (string value in C#) that represents the type of entry for the mobile address of the sender of the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property SenderName Returns a String (string in C#) value that indicates the display name of the sender for the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property SendUsingAccount Returns or sets an Account object that represents the account under which the MobileItem object is to be sent. Read/write. (Inherited from _MobileItem.)
Public property Sensitivity Returns or sets a constant in the OlSensitivity enumeration indicating the sensitivity for the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Sent Returns a Boolean (bool in C#) value that indicates whether the MobileItem object has been sent. Read-only. (Inherited from _MobileItem.)
Public property SentOn Returns a DateTime value that indicates the date and time at which the MobileItem object was sent. Read-only. (Inherited from _MobileItem.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _MobileItem.)
Public property Size Returns an Integer (int in C#) that indicates the size, in bytes, of the MobileItem object. Read-only. (Inherited from _MobileItem.)
Public property SMILBody Returns or sets a String (string in C#) 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. (Inherited from _MobileItem.)
Public property Subject Returns or sets a String (string in C#) value that indicates the subject for the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property Submitted Returns a Boolean (bool in C#) value that indicates whether the items has been submitted. Read-only. (Inherited from _MobileItem.)
Public property To Returns or sets a semicolon-delimited String (string in C#) list of display names for the To recipients for the MobileItem object. Read/write. (Inherited from _MobileItem.)
Public property UnRead Returns or sets a Boolean (bool in C#) value that indicates whether the MobileItem has not been opened (read). Read/write. (Inherited from _MobileItem.)
Public property UserProperties Returns the UserProperties collection that represents all the user-defined properties for the MobileItem object. Read-only. (Inherited from _MobileItem.)

Top

Methods

  Name Description
Public method Close Closes and optionally saves changes to the Outlook item. (Inherited from _MobileItem.)
Public method Copy Creates another instance of the MobileItem object. (Inherited from _MobileItem.)
Public method Delete Removes the item from the folder that contains the item. (Inherited from _MobileItem.)
Public method Display Displays a new Inspector object for the item. (Inherited from _MobileItem.)
Public method Forward Executes the Forward action for an item and returns the resulting copy as a MobileItem object. (Inherited from _MobileItem.)
Public method Move Moves the MobileItem object to a new folder. (Inherited from _MobileItem.)
Public method PrintOut Prints the Outlook item. (Inherited from _MobileItem.)
Public method Reply Creates a reply, preaddressed to the original sender, from the original message. (Inherited from _MobileItem.)
Public method ReplyAll Creates a reply to all original recipients from the original message. (Inherited from _MobileItem.)
Public method 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. (Inherited from _MobileItem.)
Public method SaveAs Saves the Microsoft Outlook item to the specified path and in the format of the specified file type. (Inherited from _MobileItem.)
Public method Send Sends the MobileItem object. (Inherited from _MobileItem.)

Top

Events

  Name Description
Public event AfterWrite Occurs after Microsoft Outlook has saved the item. (Inherited from ItemEvents_10_Event.)
Public event AttachmentAdd Occurs when an attachment has been added to an instance of the parent object. (Inherited from ItemEvents_10_Event.)
Public event AttachmentRead Occurs when an attachment in an instance of the parent object has been opened for reading. (Inherited from ItemEvents_10_Event.)
Public event AttachmentRemove Occurs when an attachment has been removed from an instance of the parent object. (Inherited from ItemEvents_10_Event.)
Public event BeforeAttachmentAdd Occurs before an attachment is added to an instance of the parent object. (Inherited from ItemEvents_10_Event.)
Public event BeforeAttachmentPreview Occurs before an attachment associated with an instance of the parent object is previewed. (Inherited from ItemEvents_10_Event.)
Public event BeforeAttachmentRead Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object. (Inherited from ItemEvents_10_Event.)
Public event BeforeAttachmentSave Occurs just before an attachment is saved. (Inherited from ItemEvents_10_Event.)
Public event BeforeAttachmentWriteToTempFile Occurs before an attachment associated with an instance of the parent object is written to a temporary file. (Inherited from ItemEvents_10_Event.)
Public event BeforeAutoSave Occurs before the item is automatically saved by Outlook. (Inherited from ItemEvents_10_Event.)
Public event BeforeCheckNames Occurs just before Microsoft Outlook starts resolving names in the recipient collection for an item (which is an instance of the parent object). (Inherited from ItemEvents_10_Event.)
Public event BeforeDelete Occurs before an item (which is an instance of the parent object) is deleted. (Inherited from ItemEvents_10_Event.)
Public event BeforeRead Occurs before Microsoft Outlook begins to read the properties for the item. (Inherited from ItemEvents_10_Event.)
Public event Close Occurs when the inspector associated with an item (which is an instance of the parent object) is being closed. (Inherited from ItemEvents_10_Event.)
Public event CustomAction Occurs when a custom action of an item (which is an instance of the parent object) executes. (Inherited from ItemEvents_10_Event.)
Public event CustomPropertyChange Occurs when a custom property of an item (which is an instance of the parent object) is changed. (Inherited from ItemEvents_10_Event.)
Public event Forward Occurs when the user selects the Forward action for an item (which is an instance of the parent object). (Inherited from ItemEvents_10_Event.)
Public event Open Occurs when an instance of the parent object is being opened in an Inspector. (Inherited from ItemEvents_10_Event.)
Public event PropertyChange Occurs when an explicit built-in property of an instance of the parent object is changed. (Inherited from ItemEvents_10_Event.)
Public event Read Occurs when an instance of the parent object is opened for editing by the user. (Inherited from ItemEvents_10_Event.)
Public event Reply Occurs when the user selects the Reply action for an item (which is an instance of the parent object). (Inherited from ItemEvents_10_Event.)
Public event ReplyAll Occurs when the user selects the ReplyAll action for an item (which is an instance of the parent object). (Inherited from ItemEvents_10_Event.)
Public event Send Occurs when the user selects the Send action for an item (which is an instance of the parent object). (Inherited from ItemEvents_10_Event.)
Public event Unload Occurs before an Outlook item is unloaded from memory, either programmatically or by user action. (Inherited from ItemEvents_10_Event.)
Public event Write Occurs when an instance of the parent object is saved, either explicitly or implicitly (for example, in response to a prompt when closing the item's inspector). (Inherited from ItemEvents_10_Event.)

Top

See Also

Reference

MobileItem Interface

Microsoft.Office.Interop.Outlook Namespace