Class TypeCollection
A collection of configuration Type 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.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class TypeCollection : EnumerableTCollectionBase<Type>, IList, ICollection, IEnumerable<Type>, IEnumerable
Constructors
TypeCollection()
Declaration
public TypeCollection()
Properties
Item[Int32]
Gets or sets the Type at the specified index.
Declaration
public Type this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
Type | The value. |
Methods
Add(Type)
Adds the specified value.
Declaration
public int Add(Type value)
Parameters
Type | Name | Description |
---|---|---|
Type | value | The value. |
Returns
Type | Description |
---|---|
Int32 | The value to add. |
Contains(Type)
Determines whether the collection contains the specified value.
Declaration
public bool Contains(Type value)
Parameters
Type | Name | Description |
---|---|---|
Type | value | The value. |
Returns
Type | Description |
---|---|
Boolean |
|
IndexOf(Type)
Gets the index of the specifed value.
Declaration
public int IndexOf(Type value)
Parameters
Type | Name | Description |
---|---|---|
Type | value | The value. |
Returns
Type | Description |
---|---|
Int32 | The index otherwise -1. |
IndexOf(String)
The index of the name.
Declaration
public int IndexOf(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name. |
Returns
Type | Description |
---|---|
Int32 | The index otherwise -1. |
Insert(Int32, Type)
Inserts the value at specified index.
Declaration
public void Insert(int index, Type value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
Type | value | The value. |
Remove(Type)
Removes the specified value.
Declaration
public void Remove(Type value)
Parameters
Type | Name | Description |
---|---|---|
Type | value | The value. |