 | 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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
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