DateTime Constructor (Int64)
Initializes a new instance of the DateTime structure to a specified number of ticks.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public DateTime( long value )
<TemplateAttribute> _ Public Sub New ( _ value As Long _ )
[TemplateAttribute] public: DateTime( long long^ value )
Parameters
- value
- Type: System..::..Int64
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | ticks is less than MinValue or greater than MaxValue. |