Class MechanicalUnitCollection
A collection of mechanical units
Inheritance
ControllerAPI.Internal.EnumerableTCollectionBase<MechanicalUnit>
MechanicalUnitCollection
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.MotionDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class MechanicalUnitCollection : EnumerableTCollectionBase<MechanicalUnit>, IList, ICollection, IEnumerable<MechanicalUnit>, IEnumerable
Constructors
MechanicalUnitCollection()
Initializes a new instance of the MechanicalUnitCollection class.
Declaration
public MechanicalUnitCollection()
Properties
Item[Int32]
Gets or sets the MechanicalUnit at the specified index.
Declaration
public MechanicalUnit this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
MechanicalUnit | The value. |
Methods
Contains(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 |
---|---|
Boolean |
|
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 |
---|---|
Int32 | The index of the value. |
Insert(Int32, MechanicalUnit)
Inserts value at the specified index.
Declaration
public void Insert(int index, MechanicalUnit value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | 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. |