EwsFolderTotalCount Property
Gets the total number of all items in the folder.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public int TotalCount { get; }

Property Value

Type: Int32
The total number of all items in the folder, or -1 if the value is not available.
Remarks
You may get the value of -1 when acccessing this property in case if you downloaded folders using custom FolderView which didn't request this property from the server.
See Also