_NameSpace.GetItemFromID(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Microsoft Outlook item identified by the specified entry ID (if valid).
public object GetItemFromID (string EntryIDItem, object EntryIDStore);
Public Function GetItemFromID (EntryIDItem As String, Optional EntryIDStore As Object) As Object
Parameters
- EntryIDStore
- Object
The StoreID for the folder. EntryIDStore
usually must be provided when retrieving an item based on its MAPI IDs.
Returns
An Object value that represents the specified Outlook item.
Remarks
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.