EmailItemCounts EmailItemCounts EmailItemCounts EmailItemCounts Class

Definition

Represents the counts for various email message attributes such as flagged, important, unread, and so on.

public : sealed class EmailItemCounts : IEmailItemCountspublic sealed class EmailItemCounts : IEmailItemCountsPublic NotInheritable Class EmailItemCounts Implements IEmailItemCounts// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The functionality described in this topic is not available to all Windows and Windows Phone apps. For your code to call these APIs, Microsoft must approve your use of them and provision your developer account. Otherwise the calls will fail at runtime.

Properties

Flagged Flagged Flagged Flagged

Gets the number of flagged email messages.

public : unsigned int Flagged { get; }public uint Flagged { get; }Public ReadOnly Property Flagged As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of flagged email messages.

Important Important Important Important

Gets the number of important email messages.

public : unsigned int Important { get; }public uint Important { get; }Public ReadOnly Property Important As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of important email messages.

Total Total Total Total

Gets the total number of email messages

public : unsigned int Total { get; }public uint Total { get; }Public ReadOnly Property Total As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The total number of email messages.

Unread Unread Unread Unread

Gets the number of unread email messages.

public : unsigned int Unread { get; }public uint Unread { get; }Public ReadOnly Property Unread As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The number of unread email messages.