Click or drag to resize

DateTimeValue   Conversion (DateTimeValue to DateTime)

Implicitly converts the specified value to a DateTime value.

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public static implicit operator DateTime (
	DateTimeValue value
)

Parameters

value  DateTimeValue
The DateTimeValue object to convert.

Return Value

DateTime
The converted DateTime value.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when value is null.
See Also