A string containing the format pattern for a long date and long time value.
Type Reason ArgumentNullException The value specified for a set operation is a null reference. InvalidOperationException The current instance is read-only and a set operation was attempted.
The "F" standard format string is an alias for the DateTimeFormatInfo.FullDateTimePattern property. In other words, the custom format string assigned to this property defines the format of the result string for the "F" standard format string. For more information, see Standard Date and Time Format Strings.
The value of the DateTimeFormatInfo.FullDateTimePattern property is generated dynamically by concatenating the DateTimeFormatInfo.LongDatePattern and DateTimeFormatInfo.LongTimePattern properties separated by a space. This dynamic assignment occurs under the following conditions:
If the property value is retrieved before it has been explicitly set.
When the value of the DateTimeFormatInfo.LongDatePattern property changes.
When the value of the DateTimeFormatInfo.LongTimePattern property changes.
This property is affected if the value of the DateTimeFormatInfo.Calendar property changes.