DateTimeFormatter.Patterns DateTimeFormatter.Patterns DateTimeFormatter.Patterns DateTimeFormatter.Patterns DateTimeFormatter.Patterns Property

Definition

Gets the patterns corresponding to this template that are used when formatting dates and times.

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

Property Value

IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>

The pattern that provides the requested components in the template. See the remarks for the DateTimeFormatter class for a list of valid format patterns.

See also