DateTimeFormatter.Patterns Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The pattern that provides the requested components in the template. See the remarks for the DateTimeFormatter class for a list of valid format patterns.