Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.