Share via


SortableDateTimePattern Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the custom format string for a sortable date and time value.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property SortableDateTimePattern As String
public string SortableDateTimePattern { get; }
public:
property String^ SortableDateTimePattern {
    String^ get ();
}
member SortableDateTimePattern : string with get
function get SortableDateTimePattern () : String

Property Value

Type: System. . :: . .String
The custom format string for a sortable date and time value.

Remarks

The SortableDateTimePattern property defines the culture-specific format of date strings that are returned by calls to the DateTime..::..ToString and DateTimeOffset.ToString methods and by composite format strings that are supplied the "s" standard format string.

.NET Framework Security

See Also

Reference

DateTimeFormatInfo Class

System.Globalization Namespace