ItemType.HasAttachments Property

The HasAttachments property gets or sets a Boolean value that indicates whether the item has at least one attachment.

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

Syntax

'Declaration
Public Property HasAttachments As Boolean
    Get
    Set
'Usage
Dim instance As ItemType
Dim value As Boolean

value = instance.HasAttachments

instance.HasAttachments = value
public bool HasAttachments { get; set; }

Property Value

Type: System.Boolean
The HasAttachments property returns true if the item has at least one attachment; otherwise, the property returns false.