Class RobotWareOptionCollection
A collection of robot ware info objects.
Inheritance
System.Object
System.Collections.CollectionBase
ControllerAPI.Internal.EnumerableTCollectionBase<RobotWareOption>
RobotWareOptionCollection
Implements
System.Collections.Generic.IEnumerable<RobotWareOption>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Clear()
System.Collections.CollectionBase.RemoveAt(System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
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 |
---|---|---|
System.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 |
---|---|
System.Boolean |
|
CopyTo(RobotWareOption[], Int32)
Copies to an array.
Declaration
public void CopyTo(RobotWareOption[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
RobotWareOption[] | array | The array. |
System.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 |
---|---|
System.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 |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
System.Int32 |
IList.Clear()
Declaration
void IList.Clear()
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
IList.Remove(Object)
Declaration
void IList.Remove(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable