DateTimeFormatter.Patterns プロパティ

定義

日付と時刻を書式設定するときに使用されるこのテンプレートに対応するパターンを取得します。

public:
 property IVectorView<Platform::String ^> ^ Patterns { IVectorView<Platform::String ^> ^ get(); };
IVectorView<winrt::hstring> Patterns();
public IReadOnlyList<string> Patterns { get; }
var iVectorView = dateTimeFormatter.patterns;
Public ReadOnly Property Patterns As IReadOnlyList(Of String)

プロパティ値

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

テンプレートで要求されたコンポーネントを提供するパターン。 有効な書式パターンの一覧については、 DateTimeFormatter クラスの解説を参照してください。

適用対象

こちらもご覧ください