DateTimeFormatInfo..::..ShortTimePattern Property
Gets or sets the custom format string for a short time value.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string ShortTimePattern { get; set; }
<FieldPropertyAttribute> _ Public Property ShortTimePattern As String Get Set
[FieldPropertyAttribute] public: property String^ ShortTimePattern { String^ get (); void set (String^ value); }
Return Value
The custom format string for a short time 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. |