EwsEwsItemsToItemIds Method
Creates the list of ItemId objects from the collection of EwsItem objects.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public static List<ItemId> EwsItemsToItemIds(
	IEnumerable<EwsItem> items


Type: System.Collections.GenericIEnumerableEwsItem
The collection from which to create the list of EwsItem objects.

Return Value

Type: ListItemId
The list of EwsItem objects.
MailBeeInvalidArgumentExceptionitems is a null reference (Nothing in Visual Basic).
This is a helper method which you can use if you have a collection of EwsItem objects which you need to pass to a method accepting the collection of ItemId objects. For instance, you got the collection of EwsItem objects with DownloadItemIds(FolderId, Boolean) method and want to pass it to DeleteItems(IEnumerableItemId) method (which accepts the collection of ItemId objects).
See Also