Class AttributeCollection
Summary description for AttributeCollection.
Inheritance
System.Object
System.Collections.CollectionBase
ControllerAPI.Internal.EnumerableTCollectionBase<Attribute>
AttributeCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<Attribute>
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 AttributeCollection : EnumerableTCollectionBase<Attribute>, IList, ICollection, IEnumerable<Attribute>, IEnumerable
Constructors
AttributeCollection()
Declaration
public AttributeCollection()
Properties
Item[Int32]
Gets or sets the Attribute at the specified index.
Declaration
public Attribute this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
Attribute | Value to set. |
Item[String]
Gets the Attribute with the specified name.
Declaration
public Attribute this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
Attribute | The Value. |
Methods
Add(Attribute)
Adds the specified value.
Declaration
public int Add(Attribute value)
Parameters
Type | Name | Description |
---|---|---|
Attribute | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The inserted index. |
Contains(Attribute)
Determines if the collection contains the specified value.
Declaration
public bool Contains(Attribute value)
Parameters
Type | Name | Description |
---|---|---|
Attribute | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(Attribute)
Gets the index of the value.
Declaration
public int IndexOf(Attribute value)
Parameters
Type | Name | Description |
---|---|---|
Attribute | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The index, otherwise -1. |
IndexOf(String)
Returns 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 | Index of the name, otherwise -1. |
Insert(Int32, Attribute)
Inserts a value at the specified index.
Declaration
public void Insert(int index, Attribute value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
Attribute | value | The value. |
Remove(Attribute)
Removes the specified value.
Declaration
public void Remove(Attribute value)
Parameters
Type | Name | Description |
---|---|---|
Attribute | value | The value. |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable