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

属性值

指定是否包括一周中的某一天。 如果是,则此属性指定模板中星期天的格式。

适用于