Share via


MessageType.IsRead Property

The IsRead property gets a Boolean value that specifies whether the message has been read. This property is read-only.

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

Syntax

'Declaration
Public Property IsRead As Boolean
    Get
    Set
'Usage
Dim instance As MessageType
Dim value As Boolean

value = instance.IsRead

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

Property Value

Type: System.Boolean
The IsRead property returns true if the message has been read; otherwise, the property returns false.

Remarks

This property is returned in a response that describes a message. This property cannot be set for a request. An error will occur if this property is set in a request.

You must set the IsReadSpecified property to true so that the IsRead property is serialized into the Simple Object Access Protocol (SOAP) request.