Ancestors Method

Json.NET

Json.NET - Quick Starts & API Documentation Ancestors Method
NamespacesNewtonsoft.Json.LinqJTokenAncestors()()()()
Returns a collection of the ancestor tokens of this token.
Declaration Syntax
C# Visual Basic Visual C++
public IEnumerable<JToken> Ancestors()
Public Function Ancestors As IEnumerable(Of JToken)
public:
IEnumerable<JToken^>^ Ancestors()
Return Value
A collection of the ancestor tokens of this token.

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