Class MechanicalUnitCollection
A collection of mechanical units
Inherited Members
Namespace: ABB.Robotics.Controllers.MotionDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class MechanicalUnitCollection : EnumerableTCollectionBase<MechanicalUnit>, IList, ICollection, IEnumerable<MechanicalUnit>, IEnumerable
Constructors
View SourceMechanicalUnitCollection()
Initializes a new instance of the MechanicalUnitCollection class.
Declaration
public MechanicalUnitCollection()
Properties
View Sourcethis[int]
Gets or sets the MechanicalUnit at the specified index.
Declaration
public MechanicalUnit this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| MechanicalUnit | The value. |
Methods
View SourceContains(MechanicalUnit)
Determines whether collection contains the specified value.
Declaration
public bool Contains(MechanicalUnit value)
Parameters
| Type | Name | Description |
|---|---|---|
| MechanicalUnit | value | The value. |
Returns
| Type | Description |
|---|---|
| bool |
|
IndexOf(MechanicalUnit)
Gets the index of the value.
Declaration
public int IndexOf(MechanicalUnit value)
Parameters
| Type | Name | Description |
|---|---|---|
| MechanicalUnit | value | The value. |
Returns
| Type | Description |
|---|---|
| int | The index of the value. |
Insert(int, MechanicalUnit)
Inserts value at the specified index.
Declaration
public void Insert(int index, MechanicalUnit value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| MechanicalUnit | value | The value. |
Remove(MechanicalUnit)
Removes the specified value.
Declaration
public void Remove(MechanicalUnit value)
Parameters
| Type | Name | Description |
|---|---|---|
| MechanicalUnit | value | The value. |