DateTimeFormatter.LongDate 屬性

定義

會取得 DateTimeFormatter 物件,該物件會根據使用者選擇的完整日期模式來格式化日期。

public:
 static property DateTimeFormatter ^ LongDate { DateTimeFormatter ^ get(); };
static DateTimeFormatter LongDate();
public static DateTimeFormatter LongDate { get; }
var dateTimeFormatter = DateTimeFormatter.longDate;
Public Shared ReadOnly Property LongDate As DateTimeFormatter

屬性值

DateTimeFormatter物件,相當於使用 「longdate」 範本所建構的物件。

適用於