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

只會還原去年的訊息。

適用於