Class AttributeCollection
Summary description for AttributeCollection.
Inherited Members
Namespace: ABB.Robotics.Controllers.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class AttributeCollection : EnumerableTCollectionBase<Attribute>, IList, ICollection, IEnumerable<Attribute>, IEnumerable
Constructors
View SourceAttributeCollection()
Declaration
public AttributeCollection()
Properties
View Sourcethis[int]
Gets or sets the Attribute at the specified index.
Declaration
public Attribute this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Attribute | Value to set. |
this[string]
Gets the Attribute with the specified name.
Declaration
public Attribute this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Property Value
| Type | Description |
|---|---|
| Attribute | The Value. |
Methods
View SourceAdd(Attribute)
Adds the specified value.
Declaration
public int Add(Attribute value)
Parameters
| Type | Name | Description |
|---|---|---|
| Attribute | value | The value. |
Returns
| Type | Description |
|---|---|
| int | 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 |
|---|---|
| bool |
|
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 |
|---|---|
| int | The index, otherwise -1. |
IndexOf(string)
Returns the index of the name.
Declaration
public int IndexOf(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
Returns
| Type | Description |
|---|---|
| int | Index of the name, otherwise -1. |
Insert(int, Attribute)
Inserts a value at the specified index.
Declaration
public void Insert(int index, Attribute value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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. |