PstReaderGetItemByID Method
Gets the PST item by its ID.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public PstItem GetItemByID(
	int pstID
)

Parameters

pstID
Type: SystemInt32
The PST ID value of the item to be retrieved.

Return Value

Type: PstItem
A PST item representing the item.
Remarks

The possible types of the returned value are: PstMessage, PstAppointment, PstContact, PstTask, PstActivity, PstRss, PstDistList, and generic PstItem for unknown types.

To learn the ID value of certain item (so that you can later pass it to this method), you can use its PstID property (such as PstID).

See Also