Descendants Method (source)

Json.NET

Json.NET - Quick Starts & API Documentation Descendants<(Of <(<'T>)>)> Method (source)
NamespacesNewtonsoft.Json.LinqExtensionsDescendants<(Of <<'(T>)>>)(IEnumerable<(Of <<'(T>)>>))
Returns a collection of tokens that contains the descendants of every token in the source collection.
Declaration Syntax
C# Visual Basic Visual C++
public static IJEnumerable<JToken> Descendants<T>(
	this IEnumerable<T> source
)
where T : JContainer
<ExtensionAttribute> _
Public Shared Function Descendants(Of T As JContainer) ( _
	source As IEnumerable(Of T) _
) As IJEnumerable(Of JToken)
[ExtensionAttribute]
public:
generic<typename T>
where T : JContainer
static IJEnumerable<JToken^>^ Descendants(
	IEnumerable<T>^ source
)
Generic Template Parameters
T
The type of the objects in source, constrained to JContainer.
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 descendants 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.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)