System.Collections.ObjectModel
13 wrapped types. Load them with using { "System.Collections.ObjectModel" }. Click a class to open it.
Collection class
System.Collections.ObjectModel.Collection`1 · assembly System.Private.CoreLib
Implements: IEnumerable, IList, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → T · o.SetItem(index,value)
KeyedCollection class abstract · extends Collection<TItem>
System.Collections.ObjectModel.KeyedCollection`2 · assembly System.ObjectModel
Implements: IEnumerable, IList, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Comparer | IEqualityComparer<TKey> | read | o.Comparer |
Count | int | read | o.getCount() |
Indexer
o.Item(TKey key) → TItem
Members of the base class are inherited.
ObservableCollection class · extends Collection<T>
System.Collections.ObjectModel.ObservableCollection`1 · assembly System.ObjectModel
Implements: IEnumerable, IList, ICollection, INotifyCollectionChanged, INotifyPropertyChanged
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.getCount() |
Indexer
o.Item(int index) → T · o.SetItem(index,value)
Events
| Event | Handler type | In Ring |
|---|---|---|
CollectionChanged | NotifyCollectionChangedEventHandler | o.setCollectionChangedEvent(code) · o.clearCollectionChangedEvent() |
Members of the base class are inherited.
ObservableObjectList class · extends Collection<object>
System.Collections.ObjectModel.ObservableCollection`1[[System.Object, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] · assembly System.ObjectModel
Implements: IEnumerable, IList, ICollection, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
new ObservableObjectList() |
new ObservableObjectList(IEnumerable<object> collection) |
new ObservableObjectList(List<object> list) |
Ring: new ObservableObjectList(args) uses one constructor; the others are chosen by the parameter names: new ObservableObjectList().@New([ :param = value ]) or dnNew("ObservableObjectList",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.getCount() |
Indexer
o.Item(int index) → object · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | void Add(object item) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | callMethod("Contains",[p1]) | bool Contains(object item) |
CopyTo | CopyTo(p1,p2) | void CopyTo(object[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<object> GetEnumerator() |
IndexOf | callMethod("IndexOf",[p1]) | int IndexOf(object item) |
Insert | callMethod("Insert",[p1,p2]) | void Insert(int index, object item) |
Move | callMethod("Move",[p1,p2]) | void Move(int oldIndex, int newIndex) |
Remove | callMethod("Remove",[p1]) | bool Remove(object item) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |
Events
| Event | Handler type | In Ring |
|---|---|---|
CollectionChanged | NotifyCollectionChangedEventHandler | o.setCollectionChangedEvent(code) · o.clearCollectionChangedEvent() |
Members of the base class are inherited.
ObservableStringList class · extends StringCollectionList
System.Collections.ObjectModel.ObservableCollection`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] · assembly System.ObjectModel
Implements: IEnumerable, IList, ICollection, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
new ObservableStringList() |
new ObservableStringList(IEnumerable<string> collection) |
new ObservableStringList(List<string> list) |
Ring: new ObservableStringList(args) uses one constructor; the others are chosen by the parameter names: new ObservableStringList().@New([ :param = value ]) or dnNew("ObservableStringList",[ :param = value ]).
Indexer
o.Item(int index) → string · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Move | callMethod("Move",[p1,p2]) | void Move(int oldIndex, int newIndex) |
Events
| Event | Handler type | In Ring |
|---|---|---|
CollectionChanged | NotifyCollectionChangedEventHandler | o.setCollectionChangedEvent(code) · o.clearCollectionChangedEvent() |
Members of the base class are inherited.
ReadOnlyCollection class
System.Collections.ObjectModel.ReadOnlyCollection`1 · assembly System.Private.CoreLib
Implements: IEnumerable, IList, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Empty | ReadOnlyCollection<T> | read · static | — |
Indexer
o.Item(int index) → T
ReadOnlyDictionary class
System.Collections.ObjectModel.ReadOnlyDictionary`2 · assembly System.Private.CoreLib
Implements: IEnumerable, IDictionary, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Keys | KeyCollection<TKey, TValue> | read | o.Keys |
Values | ValueCollection<TKey, TValue> | read | o.Values |
Count | int | read | o.Count |
Empty | ReadOnlyDictionary<TKey, TValue> | read · static | — |
Indexer
o.Item(TKey key) → TValue
ReadOnlyDictionaryKeyCollection class sealed
System.Collections.ObjectModel.ReadOnlyDictionary`2+KeyCollection · assembly System.Private.CoreLib
Implements: IEnumerable, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
ReadOnlyDictionaryValueCollection class sealed
System.Collections.ObjectModel.ReadOnlyDictionary`2+ValueCollection · assembly System.Private.CoreLib
Implements: IEnumerable, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
ReadOnlyObservableCollection class · extends ReadOnlyCollection<T>
System.Collections.ObjectModel.ReadOnlyObservableCollection`1 · assembly System.ObjectModel
Implements: IEnumerable, IList, ICollection, INotifyCollectionChanged, INotifyPropertyChanged
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.getCount() |
Empty | ReadOnlyObservableCollection<T> | read · static | — |
Indexer
o.Item(int index) → T
Members of the base class are inherited.
ReadOnlySet class
System.Collections.ObjectModel.ReadOnlySet`1 · assembly System.Collections
Implements: IEnumerable, ICollection
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Empty | ReadOnlySet<T> | read · static | — |
ReadOnlyStringList class
System.Collections.ObjectModel.ReadOnlyCollection`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] · assembly System.Private.CoreLib
Implements: IEnumerable, IList, ICollection
Constructors
new ReadOnlyStringList(IList<string> list) |
Ring: new ReadOnlyStringList(args) uses one constructor; the others are chosen by the parameter names: new ReadOnlyStringList().@New([ :param = value ]) or dnNew("ReadOnlyStringList",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Empty | ReadOnlyCollection<string> | read · static | o.Empty |
Indexer
o.Item(int index) → string
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Contains | callMethod("Contains",[p1]) | bool Contains(string value) |
CopyTo | CopyTo(p1,p2) | void CopyTo(string[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<string> GetEnumerator() |
IndexOf | callMethod("IndexOf",[p1]) | int IndexOf(string value) |
StringCollectionList class
System.Collections.ObjectModel.Collection`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] · assembly System.Private.CoreLib
Implements: IEnumerable, IList, ICollection
Constructors
new StringCollectionList() |
new StringCollectionList(IList<string> list) |
Ring: new StringCollectionList(args) uses one constructor; the others are chosen by the parameter names: new StringCollectionList().@New([ :param = value ]) or dnNew("StringCollectionList",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
Indexer
o.Item(int index) → string · o.SetItem(index,value)
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[p1]) | void Add(string item) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | callMethod("Contains",[p1]) | bool Contains(string item) |
CopyTo | CopyTo(p1,p2) | void CopyTo(string[] array, int index) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<string> GetEnumerator() |
IndexOf | callMethod("IndexOf",[p1]) | int IndexOf(string item) |
Insert | callMethod("Insert",[p1,p2]) | void Insert(int index, string item) |
Remove | callMethod("Remove",[p1]) | bool Remove(string item) |
RemoveAt | callMethod("RemoveAt",[p1]) | void RemoveAt(int index) |