 | CellValueTryGetDateTime Method |
Attempts to parse cell value to retrieve a
DateTime.
Namespace: DocumentFormat.OpenXml.SpreadsheetAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic bool TryGetDateTime(
out DateTime dt
)
Public Function TryGetDateTime (
<OutAttribute> ByRef dt As DateTime
) As Boolean
public:
bool TryGetDateTime(
[OutAttribute] DateTime% dt
)
member TryGetDateTime :
dt : DateTime byref -> bool
Parameters
- dt DateTime
- The result if successful.
Return Value
BooleanSuccess or failure
See Also