共用方式為


DayOfWeek 列舉

定義

識別星期數。

public enum class DayOfWeek
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DayOfWeek
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DayOfWeek
var value = Windows.Globalization.DayOfWeek.sunday
Public Enum DayOfWeek
繼承
DayOfWeek
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

Friday 5

星期五

Monday 1

星期一

Saturday 6

星期六

Sunday 0

星期日

Thursday 4

Thursday

Tuesday 2

Tuesday

Wednesday 3

星期三

適用於