ItemType.Attachments Property

The Attachments property gets or sets an AttachmentType array that contains the items or files that are attached to an item in the Exchange store.

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

Syntax

'Declaration
<XmlArrayItemAttribute("FileAttachment", GetType(FileAttachmentType), IsNullable:=False)> _
<XmlArrayItemAttribute("ItemAttachment", GetType(ItemAttachmentType), IsNullable:=False)> _
Public Property Attachments As AttachmentType()
[XmlArrayItemAttribute("FileAttachment", typeof(FileAttachmentType), IsNullable=false)] 
[XmlArrayItemAttribute("ItemAttachment", typeof(ItemAttachmentType), IsNullable=false)] 
public AttachmentType[] Attachments { get; set; }
[XmlArrayItemAttribute(L"FileAttachment", typeof(FileAttachmentType), IsNullable=false)] 
[XmlArrayItemAttribute(L"ItemAttachment", typeof(ItemAttachmentType), IsNullable=false)] 
public:
property array<AttachmentType^>^ Attachments {
    array<AttachmentType^>^ get ();
    void set (array<AttachmentType^>^ value);
}
/** @property */
public AttachmentType[] get_Attachments ()

/** @property */
public void set_Attachments (AttachmentType[] value)
public function get Attachments () : AttachmentType[]

public function set Attachments (value : AttachmentType[])

Property Value

The Attachments property returns an array of type AttachmentType that contains the items or files that are attached to an item in the Exchange store.

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)