Json.NET - Quick Starts & API Documentation
Implicit Operator
Namespaces ► Newtonsoft.Json.Linq ► JToken ► ImplicitWideningImplicitImplicitImplicit(DateTimeOffset to JToken)
Performs an implicit conversion from DateTimeOffset to JToken.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static implicit operator JToken ( DateTimeOffset value )
Public Shared Widening Operator CType ( _ value As DateTimeOffset _ ) As JToken
static implicit operator JToken^ ( DateTimeOffset value )
Parameters
- value (DateTimeOffset)
- The value to create a JValue from.
Return Value
The JValue initialized with the specified value.