Methods
- Add(Object) virtual Adds the specified content as children of this JToken.
-
Add
First(Object) Adds the specified content as the first children of this JToken. - Children() virtual Returns a collection of the child tokens of this token, in document order.
-
Create
Writer() Creates a JsonWriter that can be used to add tokens to the JToken. - Descendants() Returns a collection of the descendant tokens for this token in document order.
-
Descendants
And Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order.Self() - Merge(Object) Merge the specified content into this JToken.
-
Merge(Object,
Json Merge the specified content into this JToken using JsonMergeSettings.Merge Settings) -
On
Adding protectedvirtual Raises the AddingNew event.New(Adding New Event Args) -
On
Collection protectedvirtual Raises the CollectionChanged event.Changed(Notify Collection Changed Event Args) -
On
List protectedvirtual Raises the ListChanged event.Changed(List Changed Event Args) -
Remove
All() Removes the child nodes from this token. -
Replace
All(Object) Replaces the child nodes of this token with the specified content. - Values``1() virtual Returns a collection of the child values of this token, in document order.
Properties
-
Children
Tokens protectedabstract Gets the container's children tokens. - Count sealed Gets the count of child JSON tokens.
- First virtual Get the first child token of this token.
-
Has
Values virtual Gets a value indicating whether this token has child tokens. - Last virtual Get the last child token of this token.
-
System.
Collections. privatesealedGeneric. ICollection<Newtonsoft. Json. Linq. JToken>. Is Read Only -
System.
Collections. privatesealedGeneric. IList<Newtonsoft. Json. Linq. JToken>. Item -
System.
Collections. privatesealedICollection. Is Synchronized -
System.
Collections. privatesealedICollection. Sync Root -
System.
Collections. privatesealedIList. Is Fixed Size -
System.
Collections. privatesealedIList. Is Read Only -
System.
Collections. privatesealedIList. Item -
System.
Component privatesealedModel. IBinding List. Allow Edit -
System.
Component privatesealedModel. IBinding List. Allow New -
System.
Component privatesealedModel. IBinding List. Allow Remove -
System.
Component privatesealedModel. IBinding List. Is Sorted -
System.
Component privatesealedModel. IBinding List. Sort Direction -
System.
Component privatesealedModel. IBinding List. Sort Property -
System.
Component privatesealedModel. IBinding List. Supports Change Notification -
System.
Component privatesealedModel. IBinding List. Supports Searching -
System.
Component privatesealedModel. IBinding List. Supports Sorting
Events
-
Adding
New Occurs before an item is added to the collection. -
Collection
Changed sealed Occurs when the items list of the collection has changed, or the collection is reset. -
List
Changed sealed Occurs when the list changes or an item in the list changes.