DateTimeFormatInfo..::..TimeSeparator Property
Gets or sets the string that separates the components of time, that is, the hour, minutes, and seconds.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public string TimeSeparator { get; set; }
<FieldPropertyAttribute> _ Public Property TimeSeparator As String Get Set
[FieldPropertyAttribute] public: property String^ TimeSeparator { String^ get (); void set (String^ value); }
Return Value
The string that separates the components of time. The default for InvariantInfo is ":".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. |