Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ItemType Class

The ItemType class represents a generic item in the Exchange store.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
[SerializableAttribute] 
[DesignerCategoryAttribute("code")] 
[XmlIncludeAttribute(typeof(ReplyAllToItemType))] 
[XmlIncludeAttribute(typeof(PostItemType))] 
[XmlIncludeAttribute(typeof(TaskType))] 
[XmlIncludeAttribute(typeof(DistributionListType))] 
[XmlIncludeAttribute(typeof(ContactItemType))] 
[XmlIncludeAttribute(typeof(CalendarItemType))] 
[XmlIncludeAttribute(typeof(MessageType))] 
[XmlIncludeAttribute(typeof(MeetingMessageType))] 
[XmlIncludeAttribute(typeof(MeetingCancellationMessageType))] 
[XmlIncludeAttribute(typeof(MeetingResponseMessageType))] 
[XmlIncludeAttribute(typeof(MeetingRequestMessageType))] 
[XmlIncludeAttribute(typeof(ResponseObjectCoreType))] 
[XmlIncludeAttribute(typeof(ResponseObjectType))] 
[XmlIncludeAttribute(typeof(PostReplyItemBaseType))] 
[XmlIncludeAttribute(typeof(PostReplyItemType))] 
[XmlIncludeAttribute(typeof(DeclineItemType))] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types")] 
[XmlIncludeAttribute(typeof(SuppressReadReceiptType))] 
[XmlIncludeAttribute(typeof(SmartResponseBaseType))] 
[XmlIncludeAttribute(typeof(SmartResponseType))] 
[XmlIncludeAttribute(typeof(CancelCalendarItemType))] 
[XmlIncludeAttribute(typeof(ForwardItemType))] 
[XmlIncludeAttribute(typeof(ReplyToItemType))] 
[XmlIncludeAttribute(typeof(WellKnownResponseObjectType))] 
[XmlIncludeAttribute(typeof(ReferenceItemResponseType))] 
[XmlIncludeAttribute(typeof(TentativelyAcceptItemType))] 
[XmlIncludeAttribute(typeof(AcceptItemType))] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
[DebuggerStepThroughAttribute] 
[XmlIncludeAttribute(typeof(RemoveItemType))] 
public class ItemType
/** @attribute SerializableAttribute() */ 
/** @attribute DesignerCategoryAttribute("code") */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ReplyAllToItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.PostItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.TaskType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.DistributionListType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ContactItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.CalendarItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.MessageType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.MeetingMessageType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.MeetingCancellationMessageType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.MeetingResponseMessageType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.MeetingRequestMessageType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ResponseObjectCoreType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ResponseObjectType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.PostReplyItemBaseType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.PostReplyItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.DeclineItemType) */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.SuppressReadReceiptType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.SmartResponseBaseType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.SmartResponseType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.CancelCalendarItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ForwardItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ReplyToItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.WellKnownResponseObjectType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.ReferenceItemResponseType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.TentativelyAcceptItemType) */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.AcceptItemType) */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
/** @attribute DebuggerStepThroughAttribute() */ 
/** @attribute XmlIncludeAttribute(ExchangeWebServices.RemoveItemType) */ 
public class ItemType
SerializableAttribute 
DesignerCategoryAttribute("code") 
XmlIncludeAttribute(ExchangeWebServices.ReplyAllToItemType) 
XmlIncludeAttribute(ExchangeWebServices.PostItemType) 
XmlIncludeAttribute(ExchangeWebServices.TaskType) 
XmlIncludeAttribute(ExchangeWebServices.DistributionListType) 
XmlIncludeAttribute(ExchangeWebServices.ContactItemType) 
XmlIncludeAttribute(ExchangeWebServices.CalendarItemType) 
XmlIncludeAttribute(ExchangeWebServices.MessageType) 
XmlIncludeAttribute(ExchangeWebServices.MeetingMessageType) 
XmlIncludeAttribute(ExchangeWebServices.MeetingCancellationMessageType) 
XmlIncludeAttribute(ExchangeWebServices.MeetingResponseMessageType) 
XmlIncludeAttribute(ExchangeWebServices.MeetingRequestMessageType) 
XmlIncludeAttribute(ExchangeWebServices.ResponseObjectCoreType) 
XmlIncludeAttribute(ExchangeWebServices.ResponseObjectType) 
XmlIncludeAttribute(ExchangeWebServices.PostReplyItemBaseType) 
XmlIncludeAttribute(ExchangeWebServices.PostReplyItemType) 
XmlIncludeAttribute(ExchangeWebServices.DeclineItemType) 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") 
XmlIncludeAttribute(ExchangeWebServices.SuppressReadReceiptType) 
XmlIncludeAttribute(ExchangeWebServices.SmartResponseBaseType) 
XmlIncludeAttribute(ExchangeWebServices.SmartResponseType) 
XmlIncludeAttribute(ExchangeWebServices.CancelCalendarItemType) 
XmlIncludeAttribute(ExchangeWebServices.ForwardItemType) 
XmlIncludeAttribute(ExchangeWebServices.ReplyToItemType) 
XmlIncludeAttribute(ExchangeWebServices.WellKnownResponseObjectType) 
XmlIncludeAttribute(ExchangeWebServices.ReferenceItemResponseType) 
XmlIncludeAttribute(ExchangeWebServices.TentativelyAcceptItemType) 
XmlIncludeAttribute(ExchangeWebServices.AcceptItemType) 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
DebuggerStepThroughAttribute 
XmlIncludeAttribute(ExchangeWebServices.RemoveItemType) 
public class ItemType

The ItemType class is the base type for the TaskType, CalendarItemType, ContactItemType, and MessageType classes.

Starting with Exchange Server 2007 Service Pack 1 (SP1) with Update Rollup 4 (RU4) applied, MessageType objects represent e-mail messages and all other items that are not strongly typed by the Exchange Web Services (EWS) schema. This behavior is applied when the Exchange2007_SP1 version header is specified. Items such as IPM.Sharing and IPM.InfoPath are returned as MessageType objects. Exchange 2007 SP1 with RU4 applied and later versions will not return the base ItemType object in responses.


System.Object
  ExchangeWebServices.ItemType
     Derived Classes
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.