Class RobotWareCollection
Holds a collection of RobotWareInfo 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
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class RobotWareCollection : EnumerableTCollectionBase<RobotWare>, IEnumerable<RobotWare>, IList, ICollection, IEnumerable
Constructors
RobotWareCollection()
Initializes a new instance of the RobotWareCollection class.
Declaration
public RobotWareCollection()
Properties
Item[Int32]
Gets the RobotWare at the specified index.
Declaration
public RobotWare this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
RobotWare | The value. |
Methods
Contains(RobotWare)
Determines whether collection contains the specified value.
Declaration
public bool Contains(RobotWare value)
Parameters
Type | Name | Description |
---|---|---|
RobotWare | value | The value. |
Returns
Type | Description |
---|---|
Boolean |
|
CopyTo(RobotWare[], Int32)
Copies to an array.
Declaration
public void CopyTo(RobotWare[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
RobotWare[] | array | The array. |
Int32 | index | The start index. |
IndexOf(RobotWare)
Get the index of the value in the collection.
Declaration
public int IndexOf(RobotWare value)
Parameters
Type | Name | Description |
---|---|---|
RobotWare | value | The value. |
Returns
Type | Description |
---|---|
Int32 | The index of the value, if it exist; otherwise -1. |
Explicit Interface Implementations
IList.Add(Object)
Declaration
int IList.Add(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value |
Returns
Type | Description |
---|---|
Int32 |
IList.Clear()
Declaration
void IList.Clear()
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | |
Object | value |
IList.Remove(Object)
Declaration
void IList.Remove(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value |
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |