Click or drag to resize
Json.NET

JContainerDescendantsAndSelf Method

 
Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public IEnumerable<JToken> DescendantsAndSelf()

Return Value

Type: IEnumerableJToken
An IEnumerableT of JToken containing this token, and all the descendant tokens of the JToken.
See Also