Json.NET - Quick Starts & API Documentation
Ancestors Method
Namespaces ► Newtonsoft.Json.Linq ► JToken ► Ancestors()()()()
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.