NameSpace.GetItemFromID (Outlook)

Returns a Microsoft Outlook item identified by the specified entry ID (if valid).

This method is used for ease of transition between MAPI and OLE/Messaging applications and Outlook. For more information about Entry IDs, see the EntryID property.

GetItemFromID (EntryIDItem, EntryIDStore)


Dim strEntryIDItem As String: strEntryIDItem = 
Dim objGetItemFromID As Object
Set objGetItemFromID = Session.GetItemFromID(EntryIDItem:=strEntryIDItem)

Arguments

The following argument is required

EntryIDItem (String) - The EntryID of the item.

Optional arguments

The following argument is optional

EntryIDStore (String) - The StoreID for the folder. EntryIDStore usually must be provided when retrieving an item based on its MAPI IDs.