Jaa


DateTimeFormatter.Patterns Property

Definition

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

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)

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

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

Applies to

See also