Represents a remote item in an Inbox folder.
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
'Declaration <CoClassAttribute(GetType(RemoteItemClass))> _ <GuidAttribute("00063023-0000-0000-C000-000000000046")> _ Public Interface RemoteItem _ Inherits _RemoteItem, ItemEvents_10_Event 'Usage Dim instance As RemoteItem
[CoClassAttribute(typeof(RemoteItemClass))] [GuidAttribute("00063023-0000-0000-C000-000000000046")] public interface RemoteItem : _RemoteItem, 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 _RemoteItem. For information about the event members of the COM object, see ItemEvents_10_Event.
The RemoteItem object is similar to the MailItem object, but it contains only the Subject, Received Date and Time, Sender, Size, and the first 256 characters of the body of the message. It is used to give someone connecting in remote mode enough information to decide whether or not to download the corresponding mail message. However, the headers in items contained in an Offline Folders file (.ost) cannot be accessed using the RemoteItem object.
Unlike other Microsoft Outlook objects, you cannot create this object. Remote items are created by Outlook automatically when you use a Remote Access System (RAS) connection. Each RemoteItem object created on the local system corresponds to a preexisting MailItem object on the remote system.
The RemoteItem object inherits a number of properties, methods, and events that, because of the nature of the object, have no function. The Object Browser shows these properties, methods, and events as belonging to the RemoteItem object, but trying to use them will produce no effect.
The methods that do not work for the RemoteItem object include Close, Copy, Display, Move, and Save.
The properties that do not work for the RemoteItem object include BillingInformation, Body, Categories, Companies, and Mileage.
The events that do not work for the RemoteItem object include Open, Close, Forward, Reply, ReplyAll, and Send.