TryToDateTimeOffset Method
TryToDateTimeOffset(out DateTimeOffset)
Converts the value of this instance to its DateTimeOffset equivalent. A return value indicates whether the operation succeeded.
Declaration
public bool TryToDateTimeOffset(out DateTimeOffset dateTimeOffset)
Parameters
DateTimeOffset | dateTimeOffset | When this method returns, contains the DateTimeOffset equivalent to the value represented by this instance, if the conversion succeeded, or the default value if the conversion failed. |
Returns
bool |
|