Class InstanceCollection
A collection of configuration Instance objects.
Inherited Members
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
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 |
---|---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
Int32 | The index, otherwise -1; |
Insert(Int32, Instance)
Inserts the specified index.
Declaration
public void Insert(int index, Instance value)
Parameters
Type | Name | Description |
---|---|---|
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. |