EmailQueryOptions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示为电子邮件邮箱查询选择的选项。
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
- 继承
- 属性
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 |
获取要搜索的文本。 |