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