Json.NET - Quick Starts & API Documentation
Descendants Method
Namespaces ► Newtonsoft.Json.Linq ► JContainer ► Descendants()()()()
Returns a collection of the descendant tokens for this token in document order.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IEnumerable<JToken> Descendants()
Public Function Descendants As IEnumerable(Of JToken)
public: IEnumerable<JToken^>^ Descendants()
Return Value
An IEnumerable<(Of <(<'T>)>)> containing the descendant tokens of the JToken.