ItemAttachmentType.Item Property

The Item property gets or sets a generic Exchange item.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<XmlElementAttribute("Item", GetType(ItemType))> _
<XmlElementAttribute("Message", GetType(MessageType))> _
<XmlElementAttribute("MeetingRequest", GetType(MeetingRequestMessageType))> _
<XmlElementAttribute("MeetingCancellation", GetType(MeetingCancellationMessageType))> _
<XmlElementAttribute("MeetingMessage", GetType(MeetingMessageType))> _
<XmlElementAttribute("CalendarItem", GetType(CalendarItemType))> _
<XmlElementAttribute("PostItem", GetType(PostItemType))> _
<XmlElementAttribute("Task", GetType(TaskType))> _
<XmlElementAttribute("MeetingResponse", GetType(MeetingResponseMessageType))> _
<XmlElementAttribute("Contact", GetType(ContactItemType))> _
Public Property Item As ItemType
[XmlElementAttribute("Item", typeof(ItemType))] 
[XmlElementAttribute("Message", typeof(MessageType))] 
[XmlElementAttribute("MeetingRequest", typeof(MeetingRequestMessageType))] 
[XmlElementAttribute("MeetingCancellation", typeof(MeetingCancellationMessageType))] 
[XmlElementAttribute("MeetingMessage", typeof(MeetingMessageType))] 
[XmlElementAttribute("CalendarItem", typeof(CalendarItemType))] 
[XmlElementAttribute("PostItem", typeof(PostItemType))] 
[XmlElementAttribute("Task", typeof(TaskType))] 
[XmlElementAttribute("MeetingResponse", typeof(MeetingResponseMessageType))] 
[XmlElementAttribute("Contact", typeof(ContactItemType))] 
public ItemType Item { get; set; }
[XmlElementAttribute(L"Item", typeof(ItemType))] 
[XmlElementAttribute(L"Message", typeof(MessageType))] 
[XmlElementAttribute(L"MeetingRequest", typeof(MeetingRequestMessageType))] 
[XmlElementAttribute(L"MeetingCancellation", typeof(MeetingCancellationMessageType))] 
[XmlElementAttribute(L"MeetingMessage", typeof(MeetingMessageType))] 
[XmlElementAttribute(L"CalendarItem", typeof(CalendarItemType))] 
[XmlElementAttribute(L"PostItem", typeof(PostItemType))] 
[XmlElementAttribute(L"Task", typeof(TaskType))] 
[XmlElementAttribute(L"MeetingResponse", typeof(MeetingResponseMessageType))] 
[XmlElementAttribute(L"Contact", typeof(ContactItemType))] 
public:
property ItemType^ Item {
    ItemType^ get ();
    void set (ItemType^ value);
}
/** @property */
public ItemType get_Item ()

/** @property */
public void set_Item (ItemType value)
public function get Item () : ItemType

public function set Item (value : ItemType)

Property Value

The Item property returns an ItemType object that represents the Exchange item.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

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)