共用方式為


EmailQueryOptions 類別

定義

代表為電子郵件信箱查詢選取的選項。

public ref class EmailQueryOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [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 EmailQueryOptions final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class EmailQueryOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[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 EmailQueryOptions
[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)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Email.IEmailQueryOptionsFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class EmailQueryOptions
function EmailQueryOptions(text, fields)
Public NotInheritable Class EmailQueryOptions
繼承
Object Platform::Object IInspectable EmailQueryOptions
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
email emailSystem

建構函式

EmailQueryOptions()

具現化 類別的新實例。

EmailQueryOptions(String, EmailQuerySearchFields)

具現化 類別的新實例。

EmailQueryOptions(String)

具現化 類別的新實例。

屬性

FolderIds

取得要在其中搜尋之資料夾的識別碼。

Kind

取得或設定要查詢的電子郵件種類。

SortDirection

取得或設定查詢結果排序的方向。

SortProperty

取得或設定布林值,指出是否應該排序查詢結果。

TextSearch

取得要搜尋的文字。

適用於