This documentation is archived and is not being maintained.

FolderType.UnreadCount Property

The UnreadCount property gets the count of unread items within a given folder. This property is read-only.

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

public int UnreadCount { get; set; }

Property Value

Type: System.Int32
The UnreadCount property returns an integer that represents the count of unread items in a folder.

You must set the UnreadCountSpecified property to true so that the UnreadCount property is serialized into the SOAP request.

Show: