HasAttachment Property

Microsoft Outlook Visual Basic

True (default) if the remote item has an attachment associated with it. Read-only Boolean.

expression.HasAttachment

expression    Required. An expression that returns a RemoteItem object.