EwsItemIsRead Property
Gets or sets read/unread status of the mail message.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public bool IsRead { get; set; }

Property Value

Type: Boolean
If true, this mail message is read; if false, this mail message is unread or this property is not available.
MailBeeInvalidStateExceptionAn attempt to set IsRead property for an EwsItem which in its current state does not represent a mail message.

You can use this property only with mail messages (not for contacts, appointments, etc). Also, make sure at least GenericItem was passed to the method which was used to get this EwsItem object (passing just IdOnly won't let you then read the value of this property).

Note Note
To apply changes to IsRead property, you need to call UpdateItem(EwsItem) on this item after changing read/unread status. Also, if you just need to set this flag (not read it) for some EwsItem, requesting just IdOnly to get this item is enough. See the sample in Ews topic for example.
See Also