Class Collection<T>
Base class of all collection nodes.
Inherited Members
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<T>.System.Collections.IList.Insert(System.Int32, System.Object)
Namespace: ABB.Robotics.Controllers.Configuration
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public abstract class Collection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : class, INode
Type Parameters
Name | Description |
---|---|
T |
Constructors
Collection()
Declaration
protected Collection()
Properties
Item[String]
Gets an item from its name.
Declaration
public T this[string text] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | text | The name. |
Property Value
Type | Description |
---|---|
T | The item. |
Methods
ClearItems()
Clears all items.
Declaration
protected override void ClearItems()
Overrides
System.Collections.ObjectModel.Collection<T>.ClearItems()
InsertItem(Int32, T)
Inserts an item at the index.
Declaration
protected override void InsertItem(int index, T item)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
T | item | The item. |
Overrides
System.Collections.ObjectModel.Collection<T>.InsertItem(System.Int32, T)
RemoveItem(Int32)
Removes an item.
Declaration
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
Overrides
System.Collections.ObjectModel.Collection<T>.RemoveItem(System.Int32)
SetItem(Int32, T)
Sets an item.
Declaration
protected override void SetItem(int index, T item)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
T | item | The item. |
Overrides
System.Collections.ObjectModel.Collection<T>.SetItem(System.Int32, T)