Json.NET - Quick Starts & API Documentation
Values<(Of <(<'U>)>)> Method (source)
Namespaces ► Newtonsoft.Json.Linq ► Extensions ► Values<(Of <<'(U>)>>)(IEnumerable<(Of <<'(JToken>)>>))
Returns a collection of converted child values of every object in the source collection.

C# | Visual Basic | Visual C++ |
public static IEnumerable<U> Values<U>( this IEnumerable<JToken> source )
<ExtensionAttribute> _ Public Shared Function Values(Of U) ( _ source As IEnumerable(Of JToken) _ ) As IEnumerable(Of U)
[ExtensionAttribute] public: generic<typename U> static IEnumerable<U>^ Values( IEnumerable<JToken^>^ source )

- U
- The type to convert the values to.

- source (IEnumerable<(Of <(<'JToken>)>)>)
- An IEnumerable<(Of <(<'T>)>)> of JToken that contains the source collection.

An IEnumerable<(Of <(<'T>)>)> that contains the converted values of every node in the source collection.

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.