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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for