Class DomainCollection
A collection of CfgDomain objects.
Inherited Members
Namespace: ABB.Robotics.Controllers.ConfigurationDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class DomainCollection : EnumerableTCollectionBase<Domain>, IList, ICollection, IEnumerable<Domain>, IEnumerable
Constructors
View SourceDomainCollection()
Declaration
public DomainCollection()
Properties
View Sourcethis[int]
Gets the Domain at the specified index.
Declaration
public Domain this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| Domain | The value. |
this[string]
Gets theDomain with the specified name.
Declaration
public Domain this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Property Value
| Type | Description |
|---|---|
| Domain | The value. |
Methods
View SourceAdd(Domain)
Adds the specified value.
Declaration
public int Add(Domain value)
Parameters
| Type | Name | Description |
|---|---|---|
| Domain | value | The value. |
Returns
| Type | Description |
|---|---|
| int |
Contains(Domain)
Determines whether the collection contains the specified value.
Declaration
public bool Contains(Domain value)
Parameters
| Type | Name | Description |
|---|---|---|
| Domain | value | The value. |
Returns
| Type | Description |
|---|---|
| bool |
|
IndexOf(Domain)
Get the index of the domain.
Declaration
public int IndexOf(Domain value)
Parameters
| Type | Name | Description |
|---|---|---|
| Domain | value | The value. |
Returns
| Type | Description |
|---|---|
| int | Index of the domain, otherwise -1. |
IndexOf(string)
Gets the index of the domain with the specified name.
Declaration
public int IndexOf(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
Returns
| Type | Description |
|---|---|
| int | The index of the domain; otherwise -1. |
Insert(int, Domain)
Inserts the specified index.
Declaration
public void Insert(int index, Domain value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| Domain | value | The value. |
Remove(Domain)
Removes the specified value.
Declaration
public void Remove(Domain value)
Parameters
| Type | Name | Description |
|---|---|---|
| Domain | value | The value. |