This documentation is archived and is not being maintained.

BaseFolderType.TotalCount Property

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

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

public int TotalCount { get; set; }

Property Value

Type: System.Int32
The TotalCount property returns an integer value that represents the number of items within a folder.

You must set the TotalCountSpecified property to true so that TotalCount is serialized into the SOAP request.