Item types in the EWS Managed API 2.0

Learn key concepts for working with specific types of mailbox items by using the EWS Managed API.

Last modified: January 30, 2014

Applies to: EWS Managed API | Exchange Server 2007 Service Pack 1 (SP1) | Exchange Server 2010

Note: This content applies to the EWS Managed API 2.0 and earlier versions. For the latest information about the EWS Managed API, see Web services in Exchange.

The Exchange Web Services (EWS) Managed API provides strongly typed classes that represent specific item types in a mailbox store. These item types include email messages, contacts, post items, tasks, and calendar items.

Users typically work with a class that derives from the Item class instead of an instance of the Item class itself. One exception to this is the ItemCollection class. When you work with the ItemCollection class, you might work directly with instances of the Item class. In that case, you should implement logic that determines the type of item in the store that the instance of the Item class represents. To work with that item, you should bind to the item by using an instance of the class that represents the item.

For more information about classes that represent specific types of items in a mailbox, see the topics listed in the See Also section.