DateTimeFormatter.Patterns | patterns property

This topic has not yet been rated - Rate this topic

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

Syntax


var patterns = dateTimeFormatter.patterns;

Property value

Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Globalization.DateTimeFormatting
Windows::Globalization::DateTimeFormatting [C++]

Metadata

Windows.winmd

See also

DateTimeFormatter
Date and time formatting sample

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.