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.11.3+Branch.master.Sha.3fcdea311b5a001803ff150de35c25fd4cd62f93.3fcdea311b5a001803ff150de35c25fd4cd62f93
Syntax
public static implicit operator DateTime (
	DateTimeValue xmlAttribute
)

Parameters

xmlAttribute  DateTimeValue
The DateTimeValue object to convert.

Return Value

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