| JTokenAncestors Method |
Returns a collection of the ancestor tokens of this token.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public IEnumerable<JToken> Ancestors()
Return Value
Type:
IEnumerableJTokenA collection of the ancestor tokens of this token.
See Also