Jaa


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)

Syntax

'Declaration
Public Property UnreadCount As Integer
    Get
    Set
'Usage
Dim instance As FolderType
Dim value As Integer

value = instance.UnreadCount

instance.UnreadCount = value
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.

Remarks

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