Class JContainer | Azure SDK for Net
James Sullivan
Published Feb 16, 2026
Inheritance
JContainer
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public abstract class JContainer : Newtonsoft.Json.Linq.JToken, System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken>, System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.IBindingList, System.ComponentModel.ITypedList Properties
ChildrenTokens
Declaration
protected abstract System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> ChildrenTokens { get; } Property Value
Count
Declaration
public int Count { get; } Property Value
First
Declaration
public override Newtonsoft.Json.Linq.JToken First { get; } Property Value
HasValues
Declaration
public override bool HasValues { get; } Property Value
Last
Declaration
public override Newtonsoft.Json.Linq.JToken Last { get; } Property Value
Methods
Add(Object)
Declaration
public virtual void Add (object content); Parameters
AddFirst(Object)
Declaration
public void AddFirst (object content); Parameters
Children()
Declaration
public override Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken> Children (); Returns
CreateWriter()
Declaration
public Newtonsoft.Json.JsonWriter CreateWriter (); Returns
Descendants()
Declaration
public System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> Descendants (); Returns
DescendantsAndSelf()
Declaration
public System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> DescendantsAndSelf (); Returns
Merge(Object)
Declaration
public void Merge (object content); Parameters
Merge(Object, JsonMergeSettings)
Declaration
public void Merge (object content, Newtonsoft.Json.Linq.JsonMergeSettings settings); Parameters
OnAddingNew(AddingNewEventArgs)
Declaration
protected virtual void OnAddingNew (System.ComponentModel.AddingNewEventArgs e); Parameters
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e); Parameters
OnListChanged(ListChangedEventArgs)
Declaration
protected virtual void OnListChanged (System.ComponentModel.ListChangedEventArgs e); Parameters
RemoveAll()
Declaration
public void RemoveAll (); ReplaceAll(Object)
Declaration
public void ReplaceAll (object content); Parameters
Values<T>()
Declaration
public override System.Collections.Generic.IEnumerable<T> Values<T> (); Returns
Type Parameters
Events
AddingNew
Declaration
public event System.ComponentModel.AddingNewEventHandler AddingNew; CollectionChanged
Declaration
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged; ListChanged
Declaration
public event System.ComponentModel.ListChangedEventHandler ListChanged; Explicit Interface Implementations
ICollection<JToken>.Add(JToken)
Declaration
void ICollection<JToken>.Add (Newtonsoft.Json.Linq.JToken item); Parameters
ICollection<JToken>.Clear()
Declaration
void ICollection<JToken>.Clear (); ICollection<JToken>.Contains(JToken)
Declaration
bool ICollection<JToken>.Contains (Newtonsoft.Json.Linq.JToken item); Parameters
Returns
ICollection<JToken>.CopyTo(JToken[], Int32)
Declaration
void ICollection<JToken>.CopyTo (Newtonsoft.Json.Linq.JToken[] array, int arrayIndex); Parameters
ICollection<JToken>.IsReadOnly
Declaration
bool System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.IsReadOnly { get; } Returns
ICollection<JToken>.Remove(JToken)
Declaration
bool ICollection<JToken>.Remove (Newtonsoft.Json.Linq.JToken item); Parameters
Returns
IList<JToken>.IndexOf(JToken)
Declaration
int IList<JToken>.IndexOf (Newtonsoft.Json.Linq.JToken item); Parameters
Returns
IList<JToken>.Insert(Int32, JToken)
Declaration
void IList<JToken>.Insert (int index, Newtonsoft.Json.Linq.JToken item); Parameters
IList<JToken>.Item[Int32]
Declaration
Newtonsoft.Json.Linq.JToken System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>.Item[int index] { get; set; } Parameters
Returns
IList<JToken>.RemoveAt(Int32)
Declaration
void IList<JToken>.RemoveAt (int index); Parameters
ICollection.CopyTo(Array, Int32)
Declaration
void ICollection.CopyTo (Array array, int index); Parameters
ICollection.IsSynchronized
Declaration
bool System.Collections.ICollection.IsSynchronized { get; } Returns
ICollection.SyncRoot
Declaration
object System.Collections.ICollection.SyncRoot { get; } Returns
IList.Add(Object)
Declaration
int IList.Add (object value); Parameters
Returns
IList.Clear()
Declaration
void IList.Clear (); IList.Contains(Object)
Declaration
bool IList.Contains (object value); Parameters
Returns
IList.IndexOf(Object)
Declaration
int IList.IndexOf (object value); Parameters
Returns
IList.Insert(Int32, Object)
Declaration
void IList.Insert (int index, object value); Parameters
IList.IsFixedSize
Declaration
bool System.Collections.IList.IsFixedSize { get; } Returns
IList.IsReadOnly
Declaration
bool System.Collections.IList.IsReadOnly { get; } Returns
IList.Item[Int32]
Declaration
object System.Collections.IList.Item[int index] { get; set; } Parameters
Returns
IList.Remove(Object)
Declaration
void IList.Remove (object value); Parameters
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt (int index); Parameters
IBindingList.AddIndex(PropertyDescriptor)
Declaration
void IBindingList.AddIndex (System.ComponentModel.PropertyDescriptor property); Parameters
IBindingList.AddNew()
Declaration
object IBindingList.AddNew (); Returns
IBindingList.AllowEdit
Declaration
bool System.ComponentModel.IBindingList.AllowEdit { get; } Returns
IBindingList.AllowNew
Declaration
bool System.ComponentModel.IBindingList.AllowNew { get; } Returns
IBindingList.AllowRemove
Declaration
bool System.ComponentModel.IBindingList.AllowRemove { get; } Returns
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection)
Declaration
void IBindingList.ApplySort (System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction); Parameters
IBindingList.Find(PropertyDescriptor, Object)
Declaration
int IBindingList.Find (System.ComponentModel.PropertyDescriptor property, object key); Parameters
Returns
IBindingList.IsSorted
Declaration
bool System.ComponentModel.IBindingList.IsSorted { get; } Returns
IBindingList.RemoveIndex(PropertyDescriptor)
Declaration
void IBindingList.RemoveIndex (System.ComponentModel.PropertyDescriptor property); Parameters
IBindingList.RemoveSort()
Declaration
void IBindingList.RemoveSort (); IBindingList.SortDirection
Declaration
System.ComponentModel.ListSortDirection System.ComponentModel.IBindingList.SortDirection { get; } Returns
IBindingList.SortProperty
Declaration
System.ComponentModel.PropertyDescriptor System.ComponentModel.IBindingList.SortProperty { get; } Returns
IBindingList.SupportsChangeNotification
Declaration
bool System.ComponentModel.IBindingList.SupportsChangeNotification { get; } Returns
IBindingList.SupportsSearching
Declaration
bool System.ComponentModel.IBindingList.SupportsSearching { get; } Returns
IBindingList.SupportsSorting
Declaration
bool System.ComponentModel.IBindingList.SupportsSorting { get; } Returns
ITypedList.GetItemProperties(PropertyDescriptor[])
Declaration
System.ComponentModel.PropertyDescriptorCollection ITypedList.GetItemProperties (System.ComponentModel.PropertyDescriptor[] listAccessors); Parameters
Returns
ITypedList.GetListName(PropertyDescriptor[])
Declaration
string ITypedList.GetListName (System.ComponentModel.PropertyDescriptor[] listAccessors);