Class TypeCollection
A collection of configuration Type objects.
Inheritance
System.Object
System.Collections.CollectionBase
ControllerAPI.Internal.EnumerableTCollectionBase<Type>
TypeCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<Type>
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.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, 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.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 |
---|---|---|
System.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 |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Int32 | The index otherwise -1. |
IndexOf(String)
The index of the name.
Declaration
public int IndexOf(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Returns
Type | Description |
---|---|
System.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 |
---|---|---|
System.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. |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable