Class InstanceCollection
A collection of configuration Instance objects.
Inheritance
System.Object
System.Collections.CollectionBase
ControllerAPI.Internal.EnumerableTCollectionBase<Instance>
InstanceCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<Instance>
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
Namespace: ABB.Robotics.Controllers.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class InstanceCollection : EnumerableTCollectionBase<Instance>, IList, ICollection, IEnumerable<Instance>, IEnumerable
Constructors
InstanceCollection()
Initiates a new collection of instances.
Declaration
public InstanceCollection()
Properties
Item[Int32]
Gets or sets the Instance at the specified index.
Declaration
public Instance this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
Instance | The object at the specfied index. |
Methods
Add(Instance)
Adds the specified value.
Declaration
public int Add(Instance value)
Parameters
Type | Name | Description |
---|---|---|
Instance | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the Value. |
Contains(Instance)
Determines whether the collection contains the specified value.
Declaration
public bool Contains(Instance value)
Parameters
Type | Name | Description |
---|---|---|
Instance | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(Instance)
Gets the index of the value.
Declaration
public int IndexOf(Instance value)
Parameters
Type | Name | Description |
---|---|---|
Instance | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The index, otherwise -1; |
Insert(Int32, Instance)
Inserts the specified index.
Declaration
public void Insert(int index, Instance value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Instance | value | The value. |
Remove(Instance)
Removes the specified value.
Declaration
public void Remove(Instance value)
Parameters
Type | Name | Description |
---|---|---|
Instance | value | The value. |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable