Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
Extensions Class
Extensions Methods
Value Method
Value(T, U) Method (IEnumerable(T))
Value(U) Method (IEnumerable(JToken))
Extensions
Value
U
Method (IEnumerable
JToken
)
Converts the value.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
U
Value
<U>(
this
IEnumerable
<
JToken
>
value
)
Parameters
value
Type:
System.Collections.Generic
IEnumerable
JToken
A
JToken
cast as a
IEnumerable
T
of
JToken
.
Type Parameters
U
The type to convert the value to.
Return Value
Type:
U
A converted value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
JToken
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
Extensions Class
Value Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home