 | DateTimeValue Conversion (DateTime to DateTimeValue) |
Initializes a new instance of the
DateTimeValue class by implicitly
converting the supplied
DateTime value.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic static implicit operator DateTimeValue (
DateTime value
)
Public Shared Widening Operator CType (
value As DateTime
) As DateTimeValue
static implicit operator DateTimeValue^ (
DateTime value
)
F# does not support the declaration of new casting operators.
Parameters
- value DateTime
-
The DateTime value.
Return Value
DateTimeValueA new
DateTimeValue instance with the value.
See Also