Returns an 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.
Syntax
objNameSpace.GetItemFromID(EntryIDItem, [StoreID])
objNameSpace Required. An expression that returns a NameSpace object.
EntryIDItem Required String. The EntryID of the item.
StoreID Optional String. The StoreID for the folder.
Remarks
StoreId usually must be provided when retrieving an item based on its MAPI IDs.