Partager via


MAPIFolder.UnReadItemCount Property

Returns an Integer (int in C#) value indicating the number of unread items in the folder. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property UnReadItemCount As Integer
    Get
'Usage
Dim instance As MAPIFolder
Dim value As Integer

value = instance.UnReadItemCount
[DispIdAttribute()]
int UnReadItemCount { get; }

Property Value

Type: System.Int32

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Select a Folder and Display Folder Information