FullDateTimePattern Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the custom format string for a long date and long time value.

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

public string FullDateTimePattern { get; }

Property Value

Type: System..::..String
The custom format string for a long date and long time value.

ExceptionCondition
ArgumentNullException

The property is being set to nullNothingnullptrunita null reference (Nothing in Visual Basic).

InvalidOperationException

The property is being set and the DateTimeFormatInfo object is read-only.

The "F" standard format string is an alias for the 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.

This property is affected if the value of the Calendar property changes.

Show: