MaxValue Field
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents the largest possible value of DateTime. This field is read-only.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared ReadOnly MaxValue As DateTime
public static readonly DateTime MaxValue
public:
static initonly DateTime MaxValue
static val MaxValue: DateTime
public static final var MaxValue : DateTime
Remarks
The value of this constant is equivalent to 23:59:59.9999999, December 31, 9999, exactly one tick (100 nanoseconds) before 00:00:00, January 1, 10000.
.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.