다음을 통해 공유


AppendToItemFieldType.Item1 Property

The Item1 property gets or sets an item in the Exchange store.

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

Syntax

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

/** @property */
public void set_Item1 (ItemType value)
public function get Item1 () : ItemType

public function set Item1 (value : ItemType)

Property Value

An ItemType object that may represent a task, calendar, contact, e-mail, or distribution list item.

Remarks

It is important to note that the ItemType class is the base class for the TaskType, CalendarItemType, ContactItemType, DistributionListType, and MessageType classes.

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)