DateOnly.DayOfWeek 属性

定义

获取此实例所表示的日期是星期几。

public:
 property DayOfWeek DayOfWeek { DayOfWeek get(); };
public DayOfWeek DayOfWeek { get; }
member this.DayOfWeek : DayOfWeek
Public ReadOnly Property DayOfWeek As DayOfWeek

属性值

DayOfWeek

表示此实例所表示的星期几的数字。

适用于