GetItemFromID Method

Microsoft Outlook Visual Basic

Show All

GetItemFromID Method

       

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.

Remarks

EntryIDStore usually must be provided when retrieving an item based on its MAPI IDs.