Class 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
IList<JToken>
|
Count
First
HasValues
Last
Methods
Add(Object)
AddFirst(Object)
Children()
Declaration
public override Newtonsoft.Json.Linq.JEnumerable<Newtonsoft.Json.Linq.JToken> Children ();
Returns
JEnumerable<JToken>
|
CreateWriter()
Descendants()
Declaration
public System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> Descendants ();
Returns
IEnumerable<JToken>
|
DescendantsAndSelf()
Declaration
public System.Collections.Generic.IEnumerable<Newtonsoft.Json.Linq.JToken> DescendantsAndSelf ();
Returns
IEnumerable<JToken>
|
Merge(Object)
Merge(Object, JsonMergeSettings)
Declaration
public void Merge (object content, Newtonsoft.Json.Linq.JsonMergeSettings settings);
Parameters
Object
content
|
JsonMergeSettings
settings
|
OnAddingNew(AddingNewEventArgs)
Declaration
protected virtual void OnAddingNew (System.ComponentModel.AddingNewEventArgs e);
Parameters
AddingNewEventArgs
e
|
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e);
Parameters
NotifyCollectionChangedEventArgs
e
|
OnListChanged(ListChangedEventArgs)
Declaration
protected virtual void OnListChanged (System.ComponentModel.ListChangedEventArgs e);
Parameters
ListChangedEventArgs
e
|
RemoveAll()
Declaration
public void RemoveAll ();
ReplaceAll(Object)
Values<T>()
Declaration
public override System.Collections.Generic.IEnumerable<T> Values<T> ();
Returns
IEnumerable<T>
|
Type Parameters
T
|
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)
ICollection<JToken>.Clear()
Declaration
void ICollection<JToken>.Clear ();
ICollection<JToken>.Contains(JToken)
Declaration
bool ICollection<JToken>.Contains (Newtonsoft.Json.Linq.JToken item);
Parameters
JToken
item
|
Returns
Boolean
|
ICollection<JToken>.CopyTo(JToken[], Int32)
Declaration
void ICollection<JToken>.CopyTo (Newtonsoft.Json.Linq.JToken[] array, int arrayIndex);
Parameters
JToken[]
array
|
Int32
arrayIndex
|
ICollection<JToken>.IsReadOnly
Declaration
bool System.Collections.Generic.ICollection<Newtonsoft.Json.Linq.JToken>.IsReadOnly { get; }
Returns
Boolean
|
ICollection<JToken>.Remove(JToken)
Declaration
bool ICollection<JToken>.Remove (Newtonsoft.Json.Linq.JToken item);
Parameters
JToken
item
|
Returns
Boolean
|
IList<JToken>.IndexOf(JToken)
Declaration
int IList<JToken>.IndexOf (Newtonsoft.Json.Linq.JToken item);
Parameters
JToken
item
|
Returns
Int32
|
IList<JToken>.Insert(Int32, JToken)
Declaration
void IList<JToken>.Insert (int index, Newtonsoft.Json.Linq.JToken item);
Parameters
Int32
index
|
JToken
item
|
IList<JToken>.Item[Int32]
Declaration
Newtonsoft.Json.Linq.JToken System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken>.Item[int index] { get; set; }
Parameters
Int32
index
|
Returns
JToken
|
IList<JToken>.RemoveAt(Int32)
ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot
IList.Add(Object)
IList.Clear()
Declaration
void IList.Clear ();
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
Declaration
object System.Collections.IList.Item[int index] { get; set; }
Parameters
Int32
index
|
Returns
Object
|
IList.Remove(Object)
IList.RemoveAt(Int32)
IBindingList.AddIndex(PropertyDescriptor)
Declaration
void IBindingList.AddIndex (System.ComponentModel.PropertyDescriptor property);
Parameters
PropertyDescriptor
property
|
IBindingList.AddNew()
IBindingList.AllowEdit
IBindingList.AllowNew
IBindingList.AllowRemove
IBindingList.ApplySort(PropertyDescriptor, ListSortDirection)
Declaration
void IBindingList.ApplySort (System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
Parameters
PropertyDescriptor
property
|
ListSortDirection
direction
|
IBindingList.Find(PropertyDescriptor, Object)
Declaration
int IBindingList.Find (System.ComponentModel.PropertyDescriptor property, object key);
Parameters
PropertyDescriptor
property
|
Object
key
|
Returns
Int32
|
IBindingList.IsSorted
IBindingList.RemoveIndex(PropertyDescriptor)
Declaration
void IBindingList.RemoveIndex (System.ComponentModel.PropertyDescriptor property);
Parameters
PropertyDescriptor
property
|
IBindingList.RemoveSort()
Declaration
void IBindingList.RemoveSort ();
IBindingList.SortDirection
Declaration
System.ComponentModel.ListSortDirection System.ComponentModel.IBindingList.SortDirection { get; }
Returns
ListSortDirection
|
IBindingList.SortProperty
Declaration
System.ComponentModel.PropertyDescriptor System.ComponentModel.IBindingList.SortProperty { get; }
Returns
PropertyDescriptor
|
IBindingList.SupportsChangeNotification
Declaration
bool System.ComponentModel.IBindingList.SupportsChangeNotification { get; }
Returns
Boolean
|
IBindingList.SupportsSearching
IBindingList.SupportsSorting
ITypedList.GetItemProperties(PropertyDescriptor[])
Declaration
System.ComponentModel.PropertyDescriptorCollection ITypedList.GetItemProperties (System.ComponentModel.PropertyDescriptor[] listAccessors);
Parameters
PropertyDescriptor[]
listAccessors
|
Returns
PropertyDescriptorCollection
|
ITypedList.GetListName(PropertyDescriptor[])
Declaration
string ITypedList.GetListName (System.ComponentModel.PropertyDescriptor[] listAccessors);
Parameters
PropertyDescriptor[]
listAccessors
|
Returns
String
|