ChatRestoreHistorySpan 枚举

定义

指示聊天还原历史记录范围。

public enum class ChatRestoreHistorySpan
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class ChatRestoreHistorySpan
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum ChatRestoreHistorySpan
var value = Windows.ApplicationModel.Chat.ChatRestoreHistorySpan.lastMonth
Public Enum ChatRestoreHistorySpan
继承
ChatRestoreHistorySpan
属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
chat chatSystem smsSend

字段

AnyTime 2

所有消息都将还原。

LastMonth 0

仅还原上个月的消息。

LastYear 1

仅还原去年的消息。

适用于