Json.NET - Quick Starts & API Documentation
Value<(Of <(<'U>)>)> Method (value)
Namespaces ► Newtonsoft.Json.Linq ► Extensions ► Value<(Of <<'(U>)>>)(IEnumerable<(Of <<'(JToken>)>>))
Converts the value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static U Value<U>( this IEnumerable<JToken> value )
<ExtensionAttribute> _ Public Shared Function Value(Of U) ( _ value As IEnumerable(Of JToken) _ ) As U
[ExtensionAttribute] public: generic<typename U> static U Value( IEnumerable<JToken^>^ value )
Generic Template Parameters
- U
- The type to convert the value to.
Parameters
- value (IEnumerable<(Of <(<'JToken>)>)>)
- A JToken cast as a IEnumerable<(Of <(<'T>)>)> of JToken.
Return Value
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<(Of <(<'JToken>)>)>. When you use instance method syntax to call this method, omit the first parameter.