Returns a collection of converted child tokens of every array in the source collection.
| C# | Visual Basic | Visual C++ |
public static IEnumerable<U> Children<T, U>( this IEnumerable<T> source ) where T : JToken
<ExtensionAttribute> _ Public Shared Function Children(Of T As JToken, U) ( _ source As IEnumerable(Of T) _ ) As IEnumerable(Of U)
[ExtensionAttribute] public: generic<typename T, typename U> where T : JToken static IEnumerable<U>^ Children( IEnumerable<T>^ source )
- T
- The source collection type.
- U
- The type to convert the values to.
- source (IEnumerable<(Of <(<'T>)>)>)
- 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 <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter.