DateTimeFormatInfo..::..ShortDatePattern Property
Gets or sets the custom format string for a short date value.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string ShortDatePattern { get; set; }
<FieldPropertyAttribute> _ Public Property ShortDatePattern As String Get Set
[FieldPropertyAttribute] public: property String^ ShortDatePattern { String^ get (); void set (String^ value); }
Return Value
The custom format string for a short date value.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..InvalidOperationException | The property is being set and the DateTimeFormatInfo object is read-only. |