Class RobotWareOptionCollection
A collection of robot ware info objects.
Inheritance
ControllerAPI.Internal.EnumerableTCollectionBase<RobotWareOption>
RobotWareOptionCollection
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 RobotWareOptionCollection : EnumerableTCollectionBase<RobotWareOption>, IEnumerable<RobotWareOption>, IList, ICollection, IEnumerable
Constructors
RobotWareOptionCollection()
Initializes a new instance of the RobotWareOptionCollection class.
Declaration
public RobotWareOptionCollection()
Properties
Empty
Gets a static option collection normally used to avoid null references.
Declaration
public static RobotWareOptionCollection Empty { get; }
Property Value
Type | Description |
---|---|
RobotWareOptionCollection |
Item[Int32]
Gets the option object at the specified index.
Declaration
public RobotWareOption this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
RobotWareOption |
Methods
Contains(RobotWareOption)
Determines whether collection contains the specified value.
Declaration
public bool Contains(RobotWareOption value)
Parameters
Type | Name | Description |
---|---|---|
RobotWareOption | value | The value. |
Returns
Type | Description |
---|---|
Boolean |
|
CopyTo(RobotWareOption[], Int32)
Copies to an array.
Declaration
public void CopyTo(RobotWareOption[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
RobotWareOption[] | array | The array. |
Int32 | index | The start index. |
IndexOf(RobotWareOption)
Gets the index of the value in the collection.
Declaration
public int IndexOf(RobotWareOption value)
Parameters
Type | Name | Description |
---|---|---|
RobotWareOption | value | The value. |
Returns
Type | Description |
---|---|
Int32 | The index of the value if 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 |