EmailItemCounts クラス

定義

フラグ付き、重要、未読など、さまざまな電子メール メッセージ属性の数を表します。

public ref class EmailItemCounts sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EmailItemCounts final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EmailItemCounts
Public NotInheritable Class EmailItemCounts
継承
Object Platform::Object IInspectable EmailItemCounts
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)
アプリの機能
email emailSystem

注釈

このトピックで説明する機能は、すべての UWP アプリで使用できるわけではありません。 ストア アプリの申請プロセスの一環として、Microsoft は、これらの API を使用するアプリを発行する前に、これらの API の使用を承認し、開発者アカウントをプロビジョニングする必要があります。

プロパティ

Flagged

フラグが設定された電子メール メッセージの数を取得します。

Important

重要な電子メール メッセージの数を取得します。

Total

電子メール メッセージの合計数を取得します

Unread

未読メール メッセージの数を取得します。

適用対象