DateTimeFormatInfo..::..ShortestDayNames Property
Gets or sets a string array of the shortest unique abbreviated day names associated with the current DateTimeFormatInfo object.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string[] ShortestDayNames { get; set; }
<FieldPropertyAttribute> _ Public Property ShortestDayNames As String() Get Set
[FieldPropertyAttribute] public: property array<String^>^ ShortestDayNames { array<String^>^ get (); void set (array<String^>^ value); }
Return Value
A string array of day names.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | In a set operation, the array does not have exactly seven elements. |
System..::..ArgumentNullException | In a set operation, the value array or one of the elements of the value array is null. |
System..::..InvalidOperationException | In a set operation, the current DateTimeFormatInfo object is read-only. |