Share via


AbbreviatedDayNames Property

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

Gets or sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.

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

Syntax

'Declaration
Public ReadOnly Property AbbreviatedDayNames As String()
public string[] AbbreviatedDayNames { get; }
public:
property array<String^>^ AbbreviatedDayNames {
    array<String^>^ get ();
}
member AbbreviatedDayNames : string[] with get
function get AbbreviatedDayNames () : String[]

Property Value

Type: array<System. . :: . .String> [] () [] []
A one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week. The array for InvariantInfo contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", and "Sat".

Remarks

If setting this property, the array must be one-dimensional and must have exactly seven elements.

If a custom format string includes the "ddd" format specifier, the DateTime..::..ToString or ToString method includes the appropriate member of the AbbreviatedDayNames array in place of the "ddd" in the result string.

This property is affected if the value of the Calendar property changes. If the selected Calendar does not support abbreviated day names, the array contains the full day names.

.NET Framework Security

See Also

Reference

DateTimeFormatInfo Class

System.Globalization Namespace