Method TryGetDateTime
TryGetDateTime(string, out DateTimeOffset?)
Tries to get the date value for the specified key. Returns true on success, false if value is of wrong type.
public bool TryGetDateTime(string key, out DateTimeOffset? result)
Parameters
keystringresultDateTimeOffset?
Returns
- bool