Share via


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)

Syntax

'Declaration
Public ReadOnly Property FullDateTimePattern As String
public string FullDateTimePattern { get; }
public:
property String^ FullDateTimePattern {
    String^ get ();
}
member FullDateTimePattern : string with get
function get FullDateTimePattern () : String

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

The property is being set to null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

InvalidOperationException

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

Remarks

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.

.NET Framework Security

See Also

Reference

DateTimeFormatInfo Class

System.Globalization Namespace