共用方式為


DateTimeFormatter.IncludeDayOfWeek 屬性

定義

取得範本中的 DayOfWeekFormat

public:
 property DayOfWeekFormat IncludeDayOfWeek { DayOfWeekFormat get(); };
DayOfWeekFormat IncludeDayOfWeek();
public DayOfWeekFormat IncludeDayOfWeek { get; }
var dayOfWeekFormat = dateTimeFormatter.includeDayOfWeek;
Public ReadOnly Property IncludeDayOfWeek As DayOfWeekFormat

屬性值

指定是否包含星期數。 如果是,這個屬性會指定範本中星期數的格式。

適用於