Class ControllerInfoCollection
A collection of ControllerInfo object.
Inheritance
Implements
Inherited Members
Namespace: ABB.Robotics.Controllers
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class ControllerInfoCollection : EnumerableTCollectionBase<ControllerInfo>, IList, ICollection, IEnumerable<ControllerInfo>, IEnumerable
Constructors
ControllerInfoCollection()
Declaration
public ControllerInfoCollection()
Properties
Item[Int32]
Gets/Sets the ControllerInfo object at the specified index.
Declaration
public ControllerInfo this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ControllerInfo |
Methods
Add(ControllerInfo)
Adds a ControllerInfo object to the collection.
Declaration
public int Add(ControllerInfo value)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | value | Object to add. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the object. |
AddRange(ControllerInfo[])
Adds a range of ControllerInfo objectst o the collection.
Declaration
public void AddRange(ControllerInfo[] values)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo[] | values | The objects to add. |
AddRange(IEnumerable)
Adds a range of controller info objects to the collection.
Declaration
public void AddRange(IEnumerable enum)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | enum | The objects to add. |
Contains(ControllerInfo)
Checks if a object is available in the collection.
Declaration
public bool Contains(ControllerInfo value)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | value | Object to look for. |
Returns
Type | Description |
---|---|
System.Boolean | True if the object is found. |
CopyTo(ControllerInfo[], Int32)
Copies the content of this collection into the array.
Declaration
public void CopyTo(ControllerInfo[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo[] | array | Target array. |
System.Int32 | index | Start index in array. |
IndexOf(ControllerInfo)
Gets the index of the object.
Declaration
public int IndexOf(ControllerInfo value)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | value | Object to look for in the collection. |
Returns
Type | Description |
---|---|
System.Int32 | Index if found, -1 if not available in the collection. |
Insert(Int32, ControllerInfo)
Insert a object at the specified index.
Declaration
public void Insert(int index, ControllerInfo value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index to insert object at. |
ControllerInfo | value | Object to insert. |
Remove(ControllerInfo)
Removes a object from the collection.
Declaration
public void Remove(ControllerInfo value)
Parameters
Type | Name | Description |
---|---|---|
ControllerInfo | value | Object to remove. |
ToArray()
Creates an array object that contains all objects from this array.
Declaration
public ControllerInfo[] ToArray()
Returns
Type | Description |
---|---|
ControllerInfo[] | A matching array with the same objects. |