DateTimeFormatter.IncludeMonth 屬性

定義

取得範本中的 MonthFormat

public:
 property MonthFormat IncludeMonth { MonthFormat get(); };
MonthFormat IncludeMonth();
public MonthFormat IncludeMonth { get; }
var monthFormat = dateTimeFormatter.includeMonth;
Public ReadOnly Property IncludeMonth As MonthFormat

屬性值

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

適用於