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
public bool HasAttachments { get; set; }
public:
property bool HasAttachments {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_HasAttachments ()

/** @property */
public void set_HasAttachments (boolean value)
public function get HasAttachments () : boolean

public function set HasAttachments (value : boolean)

Property Value

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

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)