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: 11.2.0 build 590 for .NET 4.5
Syntax
public static List<ItemId> EwsItemsToItemIds(
	IEnumerable<EwsItem> items
)

Parameters

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.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionitems is a null reference (Nothing in Visual Basic).
Remarks
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