HasAttachment

The HasAttachment element specifies a Boolean value to indicate whether the item has attachments.

<HasAttachment> true | false </HasAttachment

Boolean

Attributes and elements

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.

Text value

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.

Remarks

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.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Type schema
Validation File
types.xsd
Can Be Empty

See also