This documentation is archived and is not being maintained.

MAPIFolder.ShowItemCount Property

Sets or returns a constant in the OlShowItemCount enumeration that indicates whether to display the number of unread messages in the folder or the total number of items in the folder in the Navigation Pane. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

OlShowItemCount ShowItemCount { get; set; }

The ShowItemCount property does not work with Public Folders.