Bridge

DateTimeFormatInfo..::..DateSeparator Property

Gets or sets the string that separates the components of a date, that is, the year, month, and day.

Namespace:  System.Globalization
Assembly:  Bridge (in Bridge.dll)

Syntax


[FieldPropertyAttribute]
public string DateSeparator { get; set; }
<FieldPropertyAttribute> _
Public Property DateSeparator As String
	Get
	Set
[FieldPropertyAttribute]
public:
property String^ DateSeparator {
	String^ get ();
	void set (String^ value);
}

Return Value

The string that separates the components of a date, that is, the year, month, and day. The default for InvariantInfo is "/".

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptionThe property is being set to null.
System..::..InvalidOperationExceptionThe property is being set and the DateTimeFormatInfo object is read-only.