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)

Syntax

'Declaration
<DispIdAttribute()> _
Property ShowItemCount As OlShowItemCount
    Get
    Set
'Usage
Dim instance As MAPIFolder
Dim value As OlShowItemCount

value = instance.ShowItemCount

instance.ShowItemCount = value
[DispIdAttribute()]
OlShowItemCount ShowItemCount { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlShowItemCount

Remarks

The ShowItemCount property does not work with Public Folders.

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace