Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
JToken Class
JToken Type Conversions
Explicit Conversion Operators
Explicit Conversion (JToken to Boolean)
Explicit Conversion (JToken to DateTimeOffset)
Explicit Conversion (JToken to Nullable(Boolean))
Explicit Conversion (JToken to Int64)
Explicit Conversion (JToken to Nullable(DateTime))
Explicit Conversion (JToken to Nullable(DateTimeOffset))
Explicit Conversion (JToken to Nullable(Decimal))
Explicit Conversion (JToken to Nullable(Double))
Explicit Conversion (JToken to Nullable(Char))
Explicit Conversion (JToken to Int32)
Explicit Conversion (JToken to Int16)
Explicit Conversion (JToken to UInt16)
Explicit Conversion (JToken to Char)
Explicit Conversion (JToken to Byte)
Explicit Conversion (JToken to SByte)
Explicit Conversion (JToken to Nullable(Int32))
Explicit Conversion (JToken to Nullable(Int16))
Explicit Conversion (JToken to Nullable(UInt16))
Explicit Conversion (JToken to Nullable(Byte))
Explicit Conversion (JToken to Nullable(SByte))
Explicit Conversion (JToken to DateTime)
Explicit Conversion (JToken to Nullable(Int64))
Explicit Conversion (JToken to Nullable(Single))
Explicit Conversion (JToken to Decimal)
Explicit Conversion (JToken to Nullable(UInt32))
Explicit Conversion (JToken to Nullable(UInt64))
Explicit Conversion (JToken to Double)
Explicit Conversion (JToken to Single)
Explicit Conversion (JToken to String)
Explicit Conversion (JToken to UInt32)
Explicit Conversion (JToken to UInt64)
Explicit Conversion (JToken to Byte[])
Explicit Conversion (JToken to Guid)
Explicit Conversion (JToken to Nullable(Guid))
Explicit Conversion (JToken to TimeSpan)
Explicit Conversion (JToken to Nullable(TimeSpan))
Explicit Conversion (JToken to Uri)
JToken
Conversion (JToken to DateTimeOffset)
Performs an explicit conversion from
JToken
to
DateTimeOffset
.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
explicit operator
DateTimeOffset
(
JToken
value
)
Parameters
value
Type:
Newtonsoft.Json.Linq
JToken
The value.
Return Value
Type:
DateTimeOffset
The result of the conversion.
See Also
Reference
JToken Class
Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home