Represents a text message item (Short Message Service (SMS) message) or a multimedia message item (Multimedia Messaging Service (MMS) message).
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
'Declaration <GuidAttribute("000630FE-0000-0000-C000-000000000046")> _ <CoClassAttribute(GetType(MobileItemClass))> _ Public Interface MobileItem _ Inherits _MobileItem, ItemEvents_10_Event 'Usage Dim instance As MobileItem
[GuidAttribute("000630FE-0000-0000-C000-000000000046")] [CoClassAttribute(typeof(MobileItemClass))] public interface MobileItem : _MobileItem, ItemEvents_10_Event
This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _MobileItem. For information about the event members of the COM object, see ItemEvents_10_Event.
The MobileItem object allows you to incorporate mobile messaging into Outlook solutions. In many ways, the MobileItem object is very similar to other Outlook item types. For example, you can use the CreateItem(OlItemType) method of the Application object, or the Add(Object) method of the Items object for a folder, to create a MobileItem object. You can use the Recipients and Subject properties to specify recipients and a subject for the MobileItem. In other ways, the MobileItem behaves differently. For example, the Send(Boolean) method has a ForceSend parameter that supports sending the item even when the item exceeds the limitations of the service provider.
Use the MobileFormat property to verify whether a MobileItem object is a text message or multimedia message.