Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | Members

System.Globalization.DateTimeFormatInfo.TimeSeparator Property

Gets or sets the culture-specific string to use to separate the components of time values (hour, minutes, seconds). [Edit]

public string TimeSeparator { set; get; }

Value

The string to use to separate the components of time; that is, the hour, the minutes and the seconds. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionThe value specified for a set operation is a null reference. [Edit]
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted. [Edit]

Remarks

The property value of the culture invariant DateTimeFormatInfo.TimeSeparator is ":". [Edit]

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0