EwsDeleteAttachments Method |
Deletes all attachments in the specified item.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool DeleteAttachments(
ItemId id
)
Public Function DeleteAttachments (
id As ItemId
) As Boolean
Parameters
- id
- Type: ItemId
The ID of the item. Null reference (Nothing in Visual Basic) not allowed.
Return Value
Type:
Booleantrue if succeeded; otherwise,
false.
Exceptions Remarks
The attachments will be deleted permanently.
See Also