This documentation is archived and is not being maintained.
HasAttachment
The HasAttachment element specifies a Boolean value to indicate whether the item has attachments.
Last modified: October 29, 2012
Applies to: Exchange Online | Exchange Server 2013 | Office 365
<HasAttachment> true | false </HasAttachment
Boolean
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
None.
Parent elements
Element
Description
SearchPreviewItem
Specifies the first 256 characters of a mailbox item for preview without opening the item.
A text value of true for the HasAttachment element indicates that the item has an attachment. A value of false indicates that the item does not have an attachment.
This element was introduced in Exchange Server 2013.
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Type schema
Validation File
types.xsd
Can Be Empty