PstReaderGetItemByID Method
Gets the PST item by its ID.

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


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

Return Value

Type: PstItem
A PST item representing the item.

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