Class InstanceCollection
A collection of configuration Instance objects.
Inherited Members
Namespace: ABB.Robotics.Controllers.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class InstanceCollection : EnumerableTCollectionBase<Instance>, IList, ICollection, IEnumerable<Instance>, IEnumerable
Constructors
View SourceInstanceCollection()
Initiates a new collection of instances.
Declaration
public InstanceCollection()
Properties
View Sourcethis[int]
Gets or sets the Instance at the specified index.
Declaration
public Instance this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Instance | The object at the specfied index. |
Methods
View SourceAdd(Instance)
Adds the specified value.
Declaration
public int Add(Instance value)
Parameters
| Type | Name | Description |
|---|---|---|
| Instance | value | The value. |
Returns
| Type | Description |
|---|---|
| int | 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 |
|---|---|
| bool |
|
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 |
|---|---|
| int | The index, otherwise -1; |
Insert(int, Instance)
Inserts the specified index.
Declaration
public void Insert(int index, Instance value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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. |