Partager via


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)

Syntax

'Declaration
Public Property TotalCount As Integer
    Get
    Set
'Usage
Dim instance As BaseFolderType
Dim value As Integer

value = instance.TotalCount

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

Remarks

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