GetItemFromID Method

Microsoft Outlook Visual Basic

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.

expression.GetItemFromID(EntryIDItem, EntryIDStore)

expression     Required. An expression that returns a NameSpace object.

EntryIDItem    Required String. The EntryID of the item.

EntryIDStore    Optional Variant. The StoreID for the folder. EntryIDStore usually must be provided when retrieving an item based on its MAPI IDs.

Remarks

For more information about Entry IDs, see the EntryID property.