MonthFormat 列挙型

定義

DateTimeFormatter オブジェクト内の月の目的の形式を指定します。

public enum class MonthFormat
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MonthFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MonthFormat
var value = Windows.Globalization.DateTimeFormatting.MonthFormat.none
Public Enum MonthFormat
継承
MonthFormat
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

フィールド

Abbreviated 2

月の省略形を表示します (たとえば、9 月の "Sep" など)。

Default 1

最も自然な方法で月を表示します。 使用されている言語やカレンダーなどのコンテキストによっては、省略形、完全、または数値を指定できます。

Full 3

月全体 ("9 月" など) を表示します。

None 0

月は表示しません。

Numeric 4

月を数値で表示します (たとえば、9 月の場合は "9" など)。

適用対象