Json.NET - Quick Starts & API Documentation
Children<(Of <(<'T>)>)> Method (source)
Namespaces ► Newtonsoft.Json.Linq ► Extensions ► Children<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of child tokens of every array in the source collection.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static IJEnumerable<JToken> Children<T>( this IEnumerable<T> source ) where T : JToken
<ExtensionAttribute> _ Public Shared Function Children(Of T As JToken) ( _ source As IEnumerable(Of T) _ ) As IJEnumerable(Of JToken)
[ExtensionAttribute] public: generic<typename T> where T : JToken static IJEnumerable<JToken^>^ Children( IEnumerable<T>^ source )
Generic Template Parameters
- T
- The source collection type.
Parameters
- source (IEnumerable<(Of <(<'T>)>)>)
- An IEnumerable<(Of <(<'T>)>)> of JToken that contains the source collection.
Return Value
An IEnumerable<(Of <(<'T>)>)> of JToken that contains the values of every node in the source collection.
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.